Class TBGRAPenStroker
Unit
Declaration
type TBGRAPenStroker = class(TBGRACustomPenStroker)
Description
Class to hold pen stroker configuration and compute path
Hierarchy
- TObject
- TBGRACustomPenStroker
- TBGRAPenStroker
Overview
Fields
FArrow: TBGRACustomArrow; |
|
FArrowOwned: boolean; |
|
FCustomPenStyle: TBGRAPenStyle; |
|
FJoinStyle: TPenJoinStyle; |
|
FLineCap: TPenEndCap; |
|
FMiterLimit: single; |
|
FOriginalStrokeMatrix: TAffineMatrix; |
|
FPenStyle: TPenStyle; |
|
FStrokeMatrix: TAffineMatrix; |
|
FStrokeMatrixIdentity: boolean; |
|
FStrokeMatrixInverse: TAffineMatrix; |
|
FStrokeZoom: single; |
Methods
constructor Create; |
|
destructor Destroy; override; |
|
function ComputePolygon(const APoints: array of TPointF; AWidth: single): ArrayOfTPointF; override; |
|
function ComputePolyline(const APoints: array of TPointF; AWidth: single; APenColor: TBGRAPixel; AClosedCap: boolean = true): ArrayOfTPointF; overload; override; |
|
function ComputePolyline(const APoints: array of TPointF; AWidth: single; AClosedCap: boolean = true): ArrayOfTPointF; overload; override; |
|
function ComputePolylineAutocycle(const APoints: array of TPointF; AWidth: single): ArrayOfTPointF; override; |
|
function GetArrow: TBGRACustomArrow; override; |
|
function GetArrowOwned: boolean; override; |
|
function GetCustomPenStyle: TBGRAPenStyle; override; |
|
function GetJoinStyle: TPenJoinStyle; override; |
|
function GetLineCap: TPenEndCap; override; |
|
function GetMiterLimit: single; override; |
|
function GetPenStyle: TPenStyle; override; |
|
function GetStrokeMatrix: TAffineMatrix; override; |
|
procedure SetArrow(AValue: TBGRACustomArrow); override; |
|
procedure SetArrowOwned(AValue: boolean); override; |
|
procedure SetCustomPenStyle(AValue: TBGRAPenStyle); override; |
|
procedure SetJoinStyle(AValue: TPenJoinStyle); override; |
|
procedure SetLineCap(AValue: TPenEndCap); override; |
|
procedure SetMiterLimit(AValue: single); override; |
|
procedure SetPenStyle(AValue: TPenStyle); override; |
|
procedure SetStrokeMatrix(const AValue: TAffineMatrix); override; |
Description
Fields
FArrow: TBGRACustomArrow; |
|
This item has no description. |
FArrowOwned: boolean; |
|
This item has no description. |
FCustomPenStyle: TBGRAPenStyle; |
|
Pen style can be defined by PenStyle property of by CustomPenStyle property. When PenStyle property is assigned, CustomPenStyle property is assigned the actual pen pattern. |
FJoinStyle: TPenJoinStyle; |
|
This item has no description. |
FLineCap: TPenEndCap; |
|
This item has no description. |
FMiterLimit: single; |
|
This item has no description. |
FOriginalStrokeMatrix: TAffineMatrix; |
|
This item has no description. |
FPenStyle: TPenStyle; |
|
This item has no description. |
FStrokeMatrix: TAffineMatrix; |
|
This item has no description. |
FStrokeMatrixIdentity: boolean; |
|
This item has no description. |
FStrokeMatrixInverse: TAffineMatrix; |
|
This item has no description. |
FStrokeZoom: single; |
|
This item has no description. |
Methods
constructor Create; |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
function ComputePolygon(const APoints: array of TPointF; AWidth: single): ArrayOfTPointF; override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.ComputePolygon. Computes a polygon with the given points and width |
function ComputePolyline(const APoints: array of TPointF; AWidth: single; APenColor: TBGRAPixel; AClosedCap: boolean = true): ArrayOfTPointF; overload; override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.ComputePolyline. Computes a polyline with the given points, width, and pen color, optionally closing the cap |
function ComputePolyline(const APoints: array of TPointF; AWidth: single; AClosedCap: boolean = true): ArrayOfTPointF; overload; override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.ComputePolyline. Computes a polyline with the given points and width, optionally closing the cap |
function ComputePolylineAutocycle(const APoints: array of TPointF; AWidth: single): ArrayOfTPointF; override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.ComputePolylineAutoCycle. Computes a polyline with automatic cycling of points and given width |
function GetArrow: TBGRACustomArrow; override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.GetArrow. |
function GetArrowOwned: boolean; override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.GetArrowOwned. Determines if the arrow is owned (managed) by the pen stroker |
function GetCustomPenStyle: TBGRAPenStyle; override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.GetCustomPenStyle. Gets the custom pen style |
function GetJoinStyle: TPenJoinStyle; override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.GetJoinStyle. Retrieves the style of line joins (e.g., bevel, miter) |
function GetLineCap: TPenEndCap; override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.GetLineCap. Retrieves the line cap style (e.g., butt, round) |
function GetMiterLimit: single; override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.GetMiterLimit. Gets the miter limit for line joins |
function GetPenStyle: TPenStyle; override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.GetPenStyle. Retrieves the standard pen style |
function GetStrokeMatrix: TAffineMatrix; override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.GetStrokeMatrix. Gets the stroke transformation matrix (applied only to stroke and not to path points) |
procedure SetArrow(AValue: TBGRACustomArrow); override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.SetArrow. |
procedure SetArrowOwned(AValue: boolean); override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.SetArrowOwned. Sets whether the arrow is owned by the pen stroker |
procedure SetCustomPenStyle(AValue: TBGRAPenStyle); override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.SetCustomPenStyle. Sets the custom pen style |
procedure SetJoinStyle(AValue: TPenJoinStyle); override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.SetJoinStyle. Sets the style of line joins |
procedure SetLineCap(AValue: TPenEndCap); override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.SetLineCap. Sets the line cap style |
procedure SetMiterLimit(AValue: single); override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.SetMiterLimit. Sets the miter limit for line joins |
procedure SetPenStyle(AValue: TPenStyle); override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.SetPenStyle. Sets the standard pen style |
procedure SetStrokeMatrix(const AValue: TAffineMatrix); override; |
|
This item has no description. Showing description inherited from TBGRACustomPenStroker.SetStrokeMatrix. Sets the stroke transformation matrix (applied only to stroke and not to path points) |