Пример #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));
        }
Пример #2
0
        private StickPoint DecorateRightInternal(StickPoint point)
        {
            foreach (IStickPointDecorator decorator in decorators)
            {
                point = decorator.DecorateRight(point);
            }

            return(point);
        }
Пример #3
0
 public StickPoint DecorateBottom(StickPoint point)
 {
     return(StickPoint.Create(point.Handle, point.Value + VerticalOffset, point.Priority));
 }