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: RSSVGTypes
TRSGPPen
RSSVGTypes.TSVGPen
|
Delphi
|
type
TSVGPen = class(TRSGPPen)
end;
|
|
Name
|
Description
|
|
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
|
|
SVGDashOffset
|
Stores the offset into the DashArray for starting the drawing of a CustomDash pen
|
|
ThicknessIsPercent
|
Stores whether the Width of the pen is an absolute value or a percentage based on the containing viewport
|
|
URI
|
Stores a reference to another SVG element for providing the pattern or gradient for the pen.
|
Top
|
Tip
|
Use this type instead of the library-specific type to allow your code to be cross-library (FMX<->VCL) compatible
|
|