Class TBGRAPenStroker

Unit

Declaration

type TBGRAPenStroker = class(TBGRACustomPenStroker)

Description

Class to hold pen stroker configuration and compute path

Hierarchy

Overview

Fields

Protected FArrow: TBGRACustomArrow;
Protected FArrowOwned: boolean;
Protected FCustomPenStyle: TBGRAPenStyle;
Protected FJoinStyle: TPenJoinStyle;
Protected FLineCap: TPenEndCap;
Protected FMiterLimit: single;
Protected FOriginalStrokeMatrix: TAffineMatrix;
Protected FPenStyle: TPenStyle;
Protected FStrokeMatrix: TAffineMatrix;
Protected FStrokeMatrixIdentity: boolean;
Protected FStrokeMatrixInverse: TAffineMatrix;
Protected FStrokeZoom: single;

Methods

Public constructor Create;
Public destructor Destroy; override;
Public function ComputePolygon(const APoints: array of TPointF; AWidth: single): ArrayOfTPointF; override;
Public function ComputePolyline(const APoints: array of TPointF; AWidth: single; APenColor: TBGRAPixel; AClosedCap: boolean = true): ArrayOfTPointF; overload; override;
Public function ComputePolyline(const APoints: array of TPointF; AWidth: single; AClosedCap: boolean = true): ArrayOfTPointF; overload; override;
Public function ComputePolylineAutocycle(const APoints: array of TPointF; AWidth: single): ArrayOfTPointF; override;
Protected function GetArrow: TBGRACustomArrow; override;
Protected function GetArrowOwned: boolean; override;
Protected function GetCustomPenStyle: TBGRAPenStyle; override;
Protected function GetJoinStyle: TPenJoinStyle; override;
Protected function GetLineCap: TPenEndCap; override;
Protected function GetMiterLimit: single; override;
Protected function GetPenStyle: TPenStyle; override;
Protected function GetStrokeMatrix: TAffineMatrix; override;
Protected procedure SetArrow(AValue: TBGRACustomArrow); override;
Protected procedure SetArrowOwned(AValue: boolean); override;
Protected procedure SetCustomPenStyle(AValue: TBGRAPenStyle); override;
Protected procedure SetJoinStyle(AValue: TPenJoinStyle); override;
Protected procedure SetLineCap(AValue: TPenEndCap); override;
Protected procedure SetMiterLimit(AValue: single); override;
Protected procedure SetPenStyle(AValue: TPenStyle); override;
Protected procedure SetStrokeMatrix(const AValue: TAffineMatrix); override;

Description

Fields

Protected FArrow: TBGRACustomArrow;

This item has no description.

Protected FArrowOwned: boolean;

This item has no description.

Protected 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.

Protected FJoinStyle: TPenJoinStyle;

This item has no description.

Protected FLineCap: TPenEndCap;

This item has no description.

Protected FMiterLimit: single;

This item has no description.

Protected FOriginalStrokeMatrix: TAffineMatrix;

This item has no description.

Protected FPenStyle: TPenStyle;

This item has no description.

Protected FStrokeMatrix: TAffineMatrix;

This item has no description.

Protected FStrokeMatrixIdentity: boolean;

This item has no description.

Protected FStrokeMatrixInverse: TAffineMatrix;

This item has no description.

Protected FStrokeZoom: single;

This item has no description.

Methods

Public constructor Create;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public 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

Public 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

Public 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

Public 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

Protected function GetArrow: TBGRACustomArrow; override;

This item has no description. Showing description inherited from TBGRACustomPenStroker.GetArrow.

Retrieves the arrow style used at both ends of strokes

Protected 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

Protected function GetCustomPenStyle: TBGRAPenStyle; override;

This item has no description. Showing description inherited from TBGRACustomPenStroker.GetCustomPenStyle.

Gets the custom pen style

Protected 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)

Protected function GetLineCap: TPenEndCap; override;

This item has no description. Showing description inherited from TBGRACustomPenStroker.GetLineCap.

Retrieves the line cap style (e.g., butt, round)

Protected function GetMiterLimit: single; override;

This item has no description. Showing description inherited from TBGRACustomPenStroker.GetMiterLimit.

Gets the miter limit for line joins

Protected function GetPenStyle: TPenStyle; override;

This item has no description. Showing description inherited from TBGRACustomPenStroker.GetPenStyle.

Retrieves the standard pen style

Protected 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)

Protected procedure SetArrow(AValue: TBGRACustomArrow); override;

This item has no description. Showing description inherited from TBGRACustomPenStroker.SetArrow.

Sets the arrow style used at both ends of strokes

Protected 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

Protected procedure SetCustomPenStyle(AValue: TBGRAPenStyle); override;

This item has no description. Showing description inherited from TBGRACustomPenStroker.SetCustomPenStyle.

Sets the custom pen style

Protected procedure SetJoinStyle(AValue: TPenJoinStyle); override;

This item has no description. Showing description inherited from TBGRACustomPenStroker.SetJoinStyle.

Sets the style of line joins

Protected procedure SetLineCap(AValue: TPenEndCap); override;

This item has no description. Showing description inherited from TBGRACustomPenStroker.SetLineCap.

Sets the line cap style

Protected procedure SetMiterLimit(AValue: single); override;

This item has no description. Showing description inherited from TBGRACustomPenStroker.SetMiterLimit.

Sets the miter limit for line joins

Protected procedure SetPenStyle(AValue: TPenStyle); override;

This item has no description. Showing description inherited from TBGRACustomPenStroker.SetPenStyle.

Sets the standard pen style

Protected 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)