|
Name
|
Description
|
|
ESVGException
|
Base exception class for the RiverSoftAVG SVG Component Library
|
|
TSVGBaselineShiftLength
|
Extends the FMX.RS.SVGTypes.TSVGStylePropertyLength class for the baseline shift style property. It inherits all the features of TSVGStylePropertyLength and adds the FMX.RS.SVGTypes.TSVGBaselineShiftLength.Shift property.
|
|
TSVGBrush
|
Provides the SVG TBrush class. TSVGBrush is used to fill solid shapes, such as rectangles and ellipses, with a color or pattern. The Kind property controls the mode in which a TSVGBrush instance operates.
The URI property stores a reference to another SVG element for providing the pattern or gradient for the brush.
|
|
TSVGFont
|
Provides the SVG font class
|
|
TSVGLength
|
Defines the SVG Length type, including its Raw value, Unit, and whether it is a percentage. The FMX.RS.SVGTypes.TSVGLength.Raw value represents the length in the current unit (e.g., inch, centimeter, etc); the FMX.RS.SVGTypes.TSVGLength.Pixels and FMX.RS.SVGTypes.TSVGLength.Value properties display the length converted to pixels. This allows you to set the length to 2 inches. Then, depending on what the FMX.RS.SVGTypes.TSVGLength.GetUnitFactors method returns for pixels per inch, the Pixels property can change.
In SVGs, a length is a distance measurement, given as a number along with a unit which may be optional. Lengths are specified in one of two ways depending upon whether they are used in CSS property syntax or SVG presentation attribute syntax:
• When a <length> is used in a style sheet or with a property in a ‘style’ attribute, the syntax must match the following pattern:
length ::= number (~"em" | ~"ex" | ~"px" | ~"in" | ~"cm" | ~"mm" | ~"pt" | ~"pc")?
See the CSS2 specification for the meanings of the unit identifiers. The unit identifier may be in lower (recommended) or upper case.
For properties defined in CSS2 [CSS2], a length unit identifier must be provided (for non-zero values). For SVG-specific properties, the length unit identifier is optional. If a unit is not provided, the length value represents a distance in the current user coordinate system. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
• When a <length> is used in an SVG presentation attribute, the syntax must match the following pattern:
length ::= number ("em" | "ex" | "px" | "in" | "cm" | "mm" | "pt" | "pc" | "%")?
The unit identifier, if present, must be in lower case; if not present, the length value represents a distance in the current user coordinate system.
Note that the non-property <length> definition also allows a percentage unit identifier. The meaning of a percentage length value depends on the attribute for which the percentage length value has been specified. Two common cases are: (a) when a percentage length value represents a percentage of the viewport width or height (refer to the section that discusses units in general), and (b) when a percentage length value represents a percentage of the bounding box width or height on a given object (refer to the section that describes object bounding box units). |
|
|
|
|
TSVGLengths
|
Defines a list of TSVGLength objects
|
|
TSVGPen
|
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.
|
|
TSVGPointList
|
Defines a TList type for TSVGPoints
|
|
TSVGPreserveAspectRatio
|
Provides a preserve aspect ratio class for viewports ( TSVGDocument, TSVGCustomViewport, etc). It encapsulates the SVG preserveAspectRatio attribute for defining how the viewport stretches graphics to fill the viewport.
|
|
TSVGStylePropertiesSet
|
Defines a class that represents the set of TSVGStyleProperty values.
This class is required because Delphi cannot stream sets of more than 32 enumerated values.
|
|
TSVGStylePropertyAutoLength
|
Extends the FMX.RS.SVGTypes.TSVGStylePropertyLength class for style properties which may have a length or be automatically calculated. For example, the letter-spacing, kerning, and word-spacing attributes. The FMX.RS.SVGTypes.TSVGStylePropertyAutoLength.Automatic property controls whether the length should be automatically calculated by the RSCL.
|
|
TSVGStylePropertyLength
|
Extends the FMX.RS.SVGTypes.TSVGLength class for style properties which may be inherited. The current length is stored in the current class. However, the Value property will change depending on if the length is inherited and its parent (returned via the FMX.RS.SVGTypes.TSVGStylePropertyLength.OnGetParent event). The FMX.RS.SVGTypes.TSVGStylePropertyLength.ParentValue property determines if the length should be inherited or not. If the length is inherited, the Value property uses the GetParent method (which calls the OnGetParent event) to return the inherited value.
The FMX.RS.SVGTypes.TSVGStylePropertyLength.StyleProperty property returns which style property this length is representing.
The FMX.RS.SVGTypes.TSVGStylePropertyLength.OnGetInherited and FMX.RS.SVGTypes.TSVGStylePropertyLength.OnSetInherited events allow the length class to communicate when the ParentValue property is changed.
|
|
TSVGViewBox
|
Defines a view box (or rectangle) composed of four lengths: X, Y, Width, and Height. Each value may be specified in pixels or in a unit measurement (e.g., inches, millimeters, etc).
|