Exemplo n.º 1
0
        protected EntityVisual(EntityPresenter presenter, Component render, Entity entity)
            : base(entity)
        {
            this.presenter = presenter;
            this.render = render;

            if (null != render)
            {
                render.LocalPropertyChanged += OnPropertyChanged;
            }

            entity.AddHandler<EffectiveValueChanged>(OnEffectiveValueChanged);
        }
Exemplo n.º 2
0
 public TextEntityVisual(EntityPresenter presenter, Component render, Entity entity)
     : base(presenter, render, entity)
 {
 }
Exemplo n.º 3
0
 public Location(EntityPresenter presenter, double startX, double startY, double observedWidth, double observedHeight)
 {
     Presenter = presenter;
     StartX = startX;
     StartY = startY;
     ObservedWidth = observedWidth;
     ObservedHeight = observedHeight;
 }
Exemplo n.º 4
0
 public Translation(EntityPresenter presenter, double startX, double startY, double endX, double endY)
 {
     Presenter = presenter;
     StartX = startX;
     StartY = startY;
     EndX = endX;
     EndY = endY;
 }
Exemplo n.º 5
0
 public Depth(EntityPresenter presenter, int startIndex)
 {
     Presenter = presenter;
     StartIndex = startIndex;
 }