Class IGDIPlus.TGPCustomLineCap
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Inherits: TGPBase
Contents |
Syntax
Delphi:
type TGPCustomLineCap = class( TGPBase, IGPCustomLineCap )
C++ Builder:
class TGPCustomLineCap : public TGPBase
Visual C++ (MFC):
class CTGPCustomLineCap : public CTGPBase
C# (.NET):
public ref class TGPCustomLineCap : Mitov.SignalLab.Base
Summary
Defines a custom line cap.
Description
The TGPCustomLineCap class defines a custom line cap. A line cap defines the style of graphic used to draw the ends of a line. It can be various shapes, such as a square, circle, or diamond. A custom line cap is defined by the path that draws it. The path is drawn by using a Pen object to draw the outline of a shape or by using a Brush object to fill the interior. The cap can be used on either or both ends of the line. Spacing can be adjusted between the end caps and the line.
Methods
Public
- function Clone() : TGPCustomLineCap
- function SetStrokeCap(strokeCap : TGPLineCap) : TGPCustomLineCap
- function SetStrokeCaps(startCap : TGPLineCap; endCap : TGPLineCap) : TGPCustomLineCap
- function GetStrokeCaps(startCap : TGPLineCap; endCap : TGPLineCap) : TGPCustomLineCap
- function SetStrokeJoin(lineJoin : TGPLineJoin) : TGPCustomLineCap
- procedure SetStrokeJoinProp(lineJoin : TGPLineJoin)
- function GetStrokeJoin() : TGPLineJoin
- function SetBaseCap(baseCap : TGPLineCap) : TGPCustomLineCap
- procedure SetBaseCapProp(baseCap : TGPLineCap)
- function GetBaseCap() : TGPLineCap
- function SetBaseInset(inset : Single) : TGPCustomLineCap
- procedure SetBaseInsetProp(inset : Single)
- function GetBaseInset() : Single
- function SetWidthScale(widthScale : Single) : TGPCustomLineCap
- procedure SetWidthScaleProp(widthScale : Single)
- function GetWidthScale() : Single