Defines the options of the SVG document
Namespace: RSSVGTypes
Delphi
|
type
TSVGOption = (
soSkipUnknownXML,
soUseLocaleForLanguage,
soEnforceUniqueID,
soApplyClipping
);
|
|
Name
|
Description
|
|
soApplyClipping
|
Apply Clipping Path for drawing Note that this can be expensive (as well as not as graphically correct) in FMX as clipping and fill rules are not supported by graphics library and must use Clipper.pas (requires $DEFINE FMX_CLIPPING)
|
|
soEnforceUniqueID
|
Enforce Unique IDs for SVG elements or exception raised
|
|
soSkipUnknownXML
|
Skip unknown nodes or raise exception while loading XML
|
|
soUseLocaleForLanguage
|
Use the system locale language for displaying elements ( applies to Switch SVG element) (Windows Only)
|
Top
|
Important Note
|
Note that the soUseLocaleForLanguage option is only supported on Windows so the TSVGDocument.PreferredLanguage property needs to be set for accurate results on non-Windows platforms
|
|