Download Now

    Reference IPen

    Declared in Codebot.Graphics.Types.pas on line 886

    IPen is used to stroke paths
      IPen = interface
      public
        { An optional brush used to fill the stroke instead of color }
        property Brush: IBrush read GetBrush write SetBrush;
        { The stroke color }
        property Color: TColorB read GetColor write SetColor;
        { The stroke width }
        property Width: Float read GetWidth write SetWidth;
        { The dash pattern }
        property LinePattern: TLinePattern read GetLinePattern write SetLinePattern;
        { The distance into the dash pattern where the stroke begins }
        property LinePatternOffset: Float read GetLinePatternOffset write SetLinePatternOffset;
        { The shape at the ends of lines }
        property LineCap: TLineCap read GetLineCap write SetLineCap;
        { The shape where lines meet }
        property LineJoin: TLineJoin read GetLineJoin write SetLineJoin;
        { The limit at which miter joins become bevels }
        property MiterLimit: Float read GetMiterLimit write SetMiterLimit;
      end;

    See also

    Float in Codebot.System.pas