Hide Comments
Hide Comments

Comments (0)

Provides a SVG Pen, or StrokeBrush, class. TSVGPen determines the color and pattern used to draw lines and shape contours of the graphical primitives.
 
To customize the outline pen, change the Cap, Dash, and Join properties.
 
To draw with a custom line style, use the SetCustomDash method.

The URI property stores a reference to another SVG element for providing the pattern or gradient for the Pen.

Namespace: FMX.RS.SVGTypes

expandingInheritance Hierarchy

TRSStroke
  FMX.RS.SVGTypes.TSVGPen
 

expandingSyntax

Delphi

type 
  TSVGPen = class(TRSStroke) 
  end; 
 

expandingConstructors

 

Name

Description

public constructor

Create(TSVGCanvas,TSVGBrushKind,TSVGColor)

Initializes a new instance of the TSVGPen class.

Top

expandingProperties

 

Name

Description

published property

Opacity

Provides the Opacity the pen should be drawn at. It is stored separately from the color itself as opacity affects gradient and pattern pens as well

published property

SVGDashOffset

Stores the offset into the DashArray for starting the drawing of a CustomDash pen

public property

ThicknessIsPercent

Stores whether the Width of the pen is an absolute value or a percentage based on the containing viewport

published property

URI

Stores a reference to another SVG element for providing the pattern or gradient for the pen.

Top

expandingMethods

 

Name

Description

public method

Assign(TPersistent)

Represents method Assign(TPersistent).

public method

UpdateColorOpacity

Updates the pen color alpha channel with the opacity

Top

expandingRemarks

alert_noteTip

Use this type instead of the library-specific type to allow your code to be cross-library (FMX<->VCL) compatible

expandingSee Also

Reference

TPen
TStrokeBrush

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2015, Thomas G. Grubb