protected MarginBarMarkerBase(MarkerAlign align, float dpi, float inches, bool fromRight, int width, int height, int top) { Align = align; Dpi = dpi; Height = height; Inches = inches; FromRight = fromRight; Top = top; Width = width; }
private int GetMarkerTop(MarkerAlign align) { return((align == MarkerAlign.Top) ? (_RulerRectangle.Top - 3) : (_RulerRectangle.Bottom - (PointerHeight - 3) - 2)); }
public MarginBarButton(MarkerAlign align, float dpi, float inches, bool fromRight, int width, int height, int top) : base(align, dpi, inches, fromRight, width, height, top) { }