Interface IGDIPlus.IGPCustomLineCap
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
Contents |
Syntax
Delphi:
type IGPCustomLineCap = interface
Summary
Interface to a TGPCustomLineCap object.
Description
Defines interface to a TGPCustomLineCap object.
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.
Properties
- StrokeJoin - Sets or gets the style of line join for the stroke.
- BaseCap - Gets or sets the style of the base cap.
- BaseInset - Sets or gets the base inset value of this custom line cap.
- WidthScale - Sets or gets the value of the scale width.
Methods
- function GetNativeCap() : GpCustomLineCap
- function Clone() : TGPCustomLineCap - Copies the contents of the existing object into a new TGPCustomLineCap object.
- function SetStrokeCap(strokeCap : TGPLineCap) : TGPCustomLineCap - Sets the LineCap object used to start and end lines within the TGPGraphicsPath object that defines this TGPCustomLineCap object.
- function SetStrokeCaps(startCap : TGPLineCap; endCap : TGPLineCap) : TGPCustomLineCap - Sets the LineCap objects used to start and end lines within the TGPGraphicsPath object that defines this TGPCustomLineCap object.
- function GetStrokeCaps(startCap : TGPLineCap; endCap : TGPLineCap) : TGPCustomLineCap - Returns the end cap styles for both the start line cap and the end line cap.
- function SetStrokeJoin(lineJoin : TGPLineJoin) : TGPCustomLineCap - Sets the style of line join for the stroke.
- procedure SetStrokeJoinProp(lineJoin : TGPLineJoin)
- function GetStrokeJoin() : TGPLineJoin - Returns the style of LineJoin used to join multiple lines in the same TGPGraphicsPath object.
- function SetBaseCap(baseCap : TGPLineCap) : TGPCustomLineCap - Sets the LineCap that appears as part of this TGPCustomLineCap at the end of a line.
- procedure SetBaseCapProp(baseCap : TGPLineCap)
- function GetBaseCap() : TGPLineCap - Returns the style of the base cap.
- function SetBaseInset(inset : Single) : TGPCustomLineCap - Sets the base inset value of this custom line cap.
- procedure SetBaseInsetProp(inset : Single)
- function GetBaseInset() : Single - Returns the distance between the base cap to the start of the line.
- function SetWidthScale(widthScale : Single) : TGPCustomLineCap - Sets the value of the scale width.
- procedure SetWidthScaleProp(widthScale : Single)
- function GetWidthScale() : Single - Returns the value of the scale width.