Defines SVG controls for VCL.
|
Name
|
Description
|
|
TRSSVGDocument
|
Provides design-time (and run-time) access to an SVG document. Specify the Filename of the SVG to load or use the Lines property to "bundle" your SVG into the application
|
|
TRSSVGImage
|
TRSSVGImage displays a graphical image of an SVG. The control ensures that the image is always of the highest resolution by redrawing the SVG when the control is rescaled.
Use TRSSVGImage to display a graphical image of a SVG on a form. Use the SVGDocument and SVGRootID properties to control which SVG is displayed in the image. TRSSVGImage introduces several properties to determine how the SVG is displayed within the boundaries of the TRSSVGImage object.
Tip
|
With the VCL, the TRSSVGImage class can flicker. Use the RSSVGCtrls.TRSSVGScreen control to display an SVG with reduced flicker.
|
|
|
TRSSVGLayout
|
Defines a placeholder control for a SVG group element. This class is used when VCL objects are generated for the SVG (as opposed to drawing them directly using the TRSSVGImage component), which provide VCL access to the SVG element.
|
|
TRSSVGPanel
|
Provides a panel for generating design-time or run-time VCL objects for a SVG. Unlike the TRSSVGImage component, the TRSSVGPanel component does not draw the SVG using canvas operations. Rather, it generates the VCL controls to draw the SVG.
The TRSSVGPanel for the VCL is much more limited in capabilities and compatibility with the SVG specification than the FMX version. The limitations include no clipping, rotated and scaled controls may be clipped, and flickering. It is recommended to use the TRSSVGPanel only on tested SVGs to prevent errors.
|
|
TRSSVGPath
|
Defines a Path control for a SVG image element. This class is used when VCL objects are generated for the SVG (as opposed to drawing them directly using the TRSSVGImage component), which provide VCL access to the SVG element.
|
|
TRSSVGScreen
|
TRSSVGScreen control displays a graphical image of an SVG. The control ensures that the image is always of the highest resolution by redrawing the SVG when the control is rescaled.
Use TRSSVGScreen to display a graphical image of a SVG on a form. Use the SVGDocument and SVGRootID properties to control which SVG is displayed in the image. TRSSVGScreen introduces several properties to determine how the SVG is displayed within the boundaries of the TRSSVGScreen object.
The TRSSVGScreen class is a VCL only control.
Important Note
|
Unlike the RSSVGCtrls.TRSSVGImage control, the TRSSVGScreen control is not transparent. Stacking TRSSVGScreen controls on top of each other will obscure the ones underneath. However, the TRSSVGScreen control can display SVGs without flicker (though tearing can still occur)
|
|
|
TRSSVGText
|
Defines a TText for a SVG text element. This class is used when VCL objects are generated for the SVG (as opposed to drawing them directly using the TRSSVGImage component), which provide VCL access to the SVG element.
|
|
TRSSVGThreadImage
|
TRSSVGThreadImage displays a graphical image of a SVG. The control ensures that the image is always of the highest resolution by redrawing the SVG when the control is rescaled.
Use TRSSVGThreadImage to display a graphical image of a SVG on a form. Use the Filename or Lines properties to control which SVG is displayed in the image. TRSSVGThreadImage introduces several properties to determine how the SVG is displayed within the boundaries of the TRSSVGThreadImage object.
|
|
TRSSVG_Image
|
Defines a TImage for a SVG image element. This class is used when VCL objects are generated for the SVG (as opposed to drawing them directly using the TRSSVGImage component), which provide VCL access to the SVG element.
|
Top
|