Beispiel #1
0
        public StickPoint DecorateRight(StickPoint point)
        {
            int value = point.Handle == null
                ? point.Value - HorizontalOffset
                : point.Value + HorizontalOffset;

            return(StickPoint.Create(point.Handle, value, point.Priority));
        }
Beispiel #2
0
        private StickPoint DecorateRightInternal(StickPoint point)
        {
            foreach (IStickPointDecorator decorator in decorators)
            {
                point = decorator.DecorateRight(point);
            }

            return(point);
        }
Beispiel #3
0
 public StickPoint DecorateBottom(StickPoint point)
 {
     return(StickPoint.Create(point.Handle, point.Value + VerticalOffset, point.Priority));
 }