|
ApplyStyle(TSVGStyle)
|
Applies the input style to the SVG element (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
ApplyStyles
|
Applies all styles that match the element to the element. All child elements also have their styles applied. (Overrides FMX.RS.SVG.TSVGElement.ApplyStyles.)
|
|
Assign(TPersistent)
|
Represents method Assign(TPersistent). (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
AssignProperties(TPersistent)
|
Copies the properties of source to the current element (but not children) (Overrides FMX.RS.SVG.TSVGGraphicElement.AssignProperties(TPersistent).)
|
|
AssignTo(TPersistent)
|
Represents method AssignTo(TPersistent). (Overrides FMX.RS.SVG.TSVGElement.AssignTo(TPersistent).)
|
|
BakeTransformation(TSVGMatrix)
|
Represents method BakeTransformation(TSVGMatrix). (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
BakeTransformationChildren(TSVGMatrix)
|
Represents method BakeTransformationChildren(TSVGMatrix). (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
BeforeDestruction
|
Represents method BeforeDestruction. (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
BeginDraw(TSVGMatrix,TSVGCanvas,TSVGRect)
|
Initializes the canvas with the current element's Brush, Pen, Font, and Clipping information to prepare the canvas for drawing the svg element.
The state of the input canvas is saved so that it may be restored after drawing the current element.
Note
|
This function returns True if the current element should be drawn. If the function returns False, the current element will not be drawn though all setup (clipping rectangles, fonts, etc) will still be done. Its children's draw methods will also still be called.
|
|
|
BeginUpdate
|
Marks the start of an update session of the element and its children.
No change events occur after the BeginUpdate call. A call to BeginUpdate must be complemented by calls to EndUpdate after the update is finished.
(Inherited from FMX.RS.SVG.TSVGElement.)
|
|
BuildClipRegion(TSVGClipRegion,TSVGMatrix,TSVGRect)
|
Build a clip region or path that represents the combined shape of the current Element and all of its visible children (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
Change(TSVGElement)
|
Called when any property of the element changes (Overrides FMX.RS.SVG.TSVGGraphicElement.Change(TSVGElement).)
|
|
ChangeNotification(TSVGElement)
|
Ensures that aListener is notified that the element is going to be changed or destroyed. When the current element changes, it will call the aListener.NotifyListener method.
Use ChangeNotification when the aListener element must be notified when the current element changes. For example, the TSVGUse element uses this mechanism to know when to redraw because its Reference element has changed
|
|
ChildSVGTypes
|
Returns the set of allowable child SVG element types (Overrides FMX.RS.SVG.TSVGElement.ChildSVGTypes.)
|
|
Clear
|
Clears the SVG element and resets its properties back to their defaults (Overrides FMX.RS.SVG.TSVGGraphicElement.Clear.)
|
|
Clone(TSVGDocument)
|
Clones the element and all of its child elements. The aOwner parameter should be a different document (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
CreateAspectRatio
|
Represents method CreateAspectRatio. (Inherited from FMX.RS.SVG.TSVGCustomViewBox.)
|
|
CreateControl(TControl)
|
Creates a TControl that best represents the svg element (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
CreateLength(TSVGLengthRangeEvent,TSVGUnitFactorsEvent)
|
Create a TSVGLength object and initializes its events to the parameter events (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
CreateLengths
|
Creates a TSVGLengths object list (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
CreateStylePropertyAutoLength(TSVGStyleProperty,TSVGLengthRangeEvent,TSVGUnitFactorsEvent)
|
Create a FMX.RS.SVGTypes.TSVGStylePropertyAutoLength object and initialize it (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
CreateStylePropertyLength(TSVGStylePropertyLengthClass,TSVGStyleProperty,TSVGLengthRangeEvent,TSVGUnitFactorsEvent)
|
Create a FMX.RS.SVGTypes.TSVGStylePropertyLength object and initialize it (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
DefineProperties(TFiler)
|
Represents method DefineProperties(TFiler). (Overrides FMX.RS.SVG.TSVGGraphicElement.DefineProperties(TFiler).)
|
|
DefineView(TSVGRect,TSVGPreserveAspectRatio,Single,Single,Single,Single)
|
Represents method DefineView(TSVGRect,TSVGPreserveAspectRatio,Single,Single,Single,Single). (Inherited from FMX.RS.SVG.TSVGCustomViewBox.)
|
|
DisableAppearance(TSVGMatrix,TSVGCanvas,TSVGRect)
|
Changes the canvas fill and stroke values for disabled elements (Enabled = False) (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
DoBakeTransformation(TSVGMatrix)
|
Represents method DoBakeTransformation(TSVGMatrix). (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
DoDisableAppearance(TObject,TSVGMatrix,TSVGCanvas,TSVGRect)
|
The method returns true if the appearance of disabled elements (Enabled = False) should be changed.
The FMX.RS.SVG.TSVGGraphicElement.DisableAppearance(TSVGMatrix,TSVGCanvas,TSVGRect) method does the actual modification of the element's appearance.
|
|
DoDrawing(TObject,TSVGMatrix,TSVGCanvas,TSVGRect)
|
This method is called just before drawing the current element and its children. The method is called after the canvas brush, pen, font, clipping, etc are set up but before the actual drawing.
It exposes the OnDrawing event.
Note
|
This function returns True if the current element should be drawn. If the function returns False, the current element will not be drawn. However, its children's draw methods will still be called.
|
|
|
DoDrawn(TObject,TSVGMatrix,TSVGCanvas,TSVGRect)
|
This method is called just after drawing the current element and its children. The method is called after drawing the current element and its children but before the canvas is returned to its initial state.
It exposes the OnDraw event.
|
|
DoInternalDraw(TSVGMatrix,TSVGCanvas,TSVGRect)
|
Draw the current SVG element only (not its children) to the specified canvas inside the specified rectangle. The matrix parameter specifies the cumulative transformations from the Parent element (and its Parents) to apply when drawing the element.
This method is overridden by descendant classes for svg element specific drawing.
Note
|
If the Shape property returns a path, this method will draw the path
|
|
|
DoInternalElementAtPos(TSVGMatrix,TSVGCanvas,TSVGPoint,TSVGRect,TSVGFindOptions)
|
Returns the SVG element located at the specified position in the SVG. The method assumes the size and location of the current element is the rectangle specified by aRect. The DoInternalElementAtPos method does the actual detection for the current element (and not its children).
If no SVG element is found at the specified location, the function returns nil.
|
|
DoLoadFromXML(IXMLNode)
|
This method sets the properties of the svg element from the node when loading the svg from XML
This method does the work for the current svg element only.
|
|
DoModifyControl(TControl,TSVGMatrix,TSVGRect,TSVGControlElementEvent)
|
Represents method DoModifyControl(TControl,TSVGMatrix,TSVGRect,TSVGControlElementEvent). (Inherited from FMX.RS.SVG.TSVGCustomViewBox.)
|
|
DoOnElementFound(TSVGGraphicElement)
|
This method is called when an SVG element is found at the specified position during an FMX.RS.SVG.TSVGElement.ElementAtPos(TSVGCanvas,TSVGPoint,TSVGRect,TSVGFindOptions) method call.
The method fires the OnElementFound event.
|
|
DoOnParsedNode(TSVGElement)
|
Called when an OnParsedNode event should fire (i.e., just after the node is parsed to set the properties of the svg element) (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
DoOnParsingNode(TSVGElement,IXMLNode)
|
Called when an OnParsingNode event should fire (i.e., just before the node is parsed to set the properties of the svg element) (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
DoOnSavedElement(TSVGElement,IXMLNode)
|
Called when an OnSavingElement event should fire (i.e., just after the svg element's properties are written to the node) (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
DoOnSavingElement(TSVGElement,IXMLNode)
|
Called when an OnSavingElement event should fire (i.e., just before the svg element's properties are written to the node) (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
DoSaveToXML(IXMLNode)
|
This method saves the properties of the svg element to the xml node.
This method does the work for the current svg element only.
|
|
DoShouldDraw
|
Represents method DoShouldDraw. (Overrides FMX.RS.SVG.TSVGElement.DoShouldDraw.)
|
|
Draw(TSVGMatrix,TSVGCanvas,TSVGRect)
|
Draw the SVG to the specified canvas inside the specified rectangle. The matrix parameter specifies the cumulative transformations from the Parent element (and its Parents) to apply when drawing the element. (Overrides FMX.RS.SVG.TSVGGraphicElement.Draw(TSVGMatrix,TSVGCanvas,TSVGRect).)
|
|
DrawChildren(TSVGMatrix,TSVGCanvas,TSVGRect)
|
Draws all of the current element's children to the canvas (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
DrawElement(TSVGMatrix,TSVGCanvas,TSVGRect)
|
Draw the svg element and its children to the specified canvas inside the specified rectangle.
No ancestors or siblings are drawn. The svg element is drawn where it would be if the entire SVG was drawn.
|
|
DrawElementParent(TSVGMatrix,TSVGCanvas,TSVGRect)
|
Sets up parent transformation and clipping so that current element can draw itself properly (Overrides FMX.RS.SVG.TSVGGraphicElement.DrawElementParent(TSVGMatrix,TSVGCanvas,TSVGRect).)
|
|
DrawMarkers(TRSPathData,TSVGMatrix,TSVGCanvas,TSVGRect)
|
Overloaded. Draws all of the current element's markers (start, middle, and end) to the canvas along the specified path. The method uses the points of the path to calculate where to draw the markers and in what orientation. (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
DrawMarkers(TRSPoints,TSVGMatrix,TSVGCanvas,TSVGRect)
|
Overloaded. Draws all of the current element's markers (start, middle, and end) to the canvas at the specified points. The method uses the points to calculate where to draw the markers and in what orientation. (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
DrawPath(TRSPathData,TSVGMatrix,TSVGCanvas,TSVGRect)
|
Overloaded. Draws a path shape to the canvas (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
ElementAtPos(TSVGCanvas,TSVGPoint,TSVGRect,TSVGFindOptions)
|
Overloaded. Returns the SVG element located at the specified position in the SVG. The method assumes the size and location of the current element is the rectangle specified by aRect. Use the ElementAtPos method to determine which SVG element is at the specified location in the current element.
If no SVG element is found at the specified location, the function returns nil
Note
|
The method searches the children first in reverse order and then the current element. This ensures the visually top-most element is found
|
|
|
ElementAtPos(TSVGMatrix,TSVGCanvas,TSVGPoint,TSVGRect,TSVGFindOptions)
|
Returns the SVG element located at the specified position in the SVG. The method assumes the size and location of the current element is the rectangle specified by aRect. Use the ElementAtPos method to determine which SVG element is at the specified location in the current element.
If no SVG element is found at the specified location, the function returns nil
Note
|
The method searches the children first in reverse order and then the current element. This ensures the visually top-most element is found
|
|
|
ElementNotification(TObject,TSVGElement,TCollectionNotification)
|
This method is called when an element is added or removed from the FMX.RS.SVG.TSVGElement.Items property (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
EnableChange
|
Called when the FMX.RS.SVG.TSVGElement.Enabled property changes (Overrides FMX.RS.SVG.TSVGElement.EnableChange.)
|
|
EndDraw(TSVGMatrix,TSVGCanvas,TSVGRect)
|
Restores the canvas to its state before the current svg element and its children were drawn (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
EndUpdate
|
Marks the end of an update session of the element and its children.
The update session must be started first by calling BeginUpdate.
EndUpdate decreases a updating semaphore. If all update sessions end and the semaphore is 0, EndUpdate signals a OnChange event.
(Inherited from FMX.RS.SVG.TSVGElement.)
|
|
FillPolygons(TSVGMatrix,TSVGCanvas)
|
Experimental method to use the Clipper library to create properly filled (based on FillRule) and clipped (GetClipPath) polygons (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
FitToRect(TSVGRect)
|
Overloaded. Returns a transformation matrix that will properly scale and translate the SVG element's BoundsRect so that it fits within the input rectangle (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
FitToRect(TSVGRect,TSVGRect)
|
Overloaded. Returns a transformation matrix that will properly scale and translate the TargetRect so that it fits within the input rectangle (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
GenerateChildControls(TControl,TSVGMatrix,TRSRect,TSVGControlElementEvent)
|
Generates the child controls for the current svg element based on the FMX.RS.SVG.TSVGElement.Items property (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
GenerateControls(TControl,TRSRect,TSVGControlElementEvent)
|
Overloaded. Generates VCL/FMX controls to represent this SVG element and its children. The Parent parameter specifies the parent control for the generated VCL/FMX control.
The FMX control is transformed by a matrix returned from the GetViewMatrix function
|
|
GenerateControls(TControl,TSVGMatrix,TRSRect,TSVGControlElementEvent)
|
Overloaded. Generates VCL/FMX controls to represent this SVG element and its children. The Parent parameter specifies the parent control for the generated VCL/FMX control. (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
GenerateMarkers(TControl,TRSPathData,TSVGMatrix,TSVGRect,TSVGControlElementEvent)
|
Overloaded. Generates the VCL/FMX controls to correctly display all of the current element's markers (start, middle, and end) along the specified path. The method uses the points of the path to calculate where to create the markers and their orientation. (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
GenerateMarkers(TControl,TRSPoints,TSVGMatrix,TSVGRect,TSVGControlElementEvent)
|
Overloaded. Generates the VCL/FMX controls to correctly display all of the current element's markers (start, middle, and end) at the specified points. The method uses the points to calculate where to create the markers and their orientation. (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
GetAbsoluteOpacity
|
Returns the opacity of the SVG element modified with its Parents' opacities (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
GetBoundsRect
|
Gets the Bounding Rectangle (in pixels) of the element. This value is the bounding rectangle before any transformations are applied. (Overrides FMX.RS.SVG.TSVGCustomViewBox.GetBoundsRect.)
|
|
GetBrush
|
Overloaded. Returns the Brush for the current element modified by any inherited properties (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
GetBrush(TSVGMatrix,TSVGRect)
|
Overloaded. Returns the Brush for the element, configured for the transformation and rectangle. (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
GetClipPath(TSVGCanvas)
|
Returns the clipping region of the current element based on its shape and its children's shape (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
GetClipRect
|
Returns the clipping rectangle for the element (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
GetFont
|
Returns the Font for the current element modified by any inherited properties (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
GetFormatStr
|
Returns a format string for formatting floating point numbers (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
GetGraphicParent
|
Returns the closest ancestor SVG element that is a TSVGGraphicElement class (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
GetHeight
|
Returns the Height of the Element.
If the Height property is a percentage, this method returns the Height for the Element by calculating the percentage of the nearest ViewBox's Height
|
|
GetHeightRaw
|
Returns the Height of the Element in raw measurement units (i.e., 1 inch, 2.5 centimeter).
The GetHeight method returns the height in pixels.
|
|
GetNearestViewBox
|
Returns the nearest ancestor (Parent, or Parent of Parent, or etc) element that is a TSVGCustomViewBox element (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
GetOptions
|
Represents method GetOptions. (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
GetOwner
|
Returns the SVG document that owns this element (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
GetPen
|
Overloaded. Returns the Pen for the current element modified by any inherited properties (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
GetPen(TSVGMatrix,TSVGRect)
|
Overloaded. Returns the Pen for the element, configured for the transformation and rectangle. (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
GetShape
|
Returns a path that represents the shape of the current svg element.
This method does not work for all svg element types
|
|
GetSVGType
|
Returns the SVG element type of the class (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
GetUnitFactors
|
Returns unit factors array, which specifies the unit factors for conversion of different units into pixel units. For example, if the input string contains '1cm', the function uses the UnitFactors variable of this type to know how large a centimeter is. (Overrides FMX.RS.SVG.TSVGElement.GetUnitFactors.)
|
|
GetViewMatrix(TRect)
|
Overloaded. Returns a transformation matrix for viewing this element (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
GetViewMatrix(TSVGMatrix,TRect)
|
Overloaded. Returns a transformation matrix for viewing this element (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
GetViewMatrix(TSVGMatrix,TSVGRect)
|
Returns a transformation matrix for viewing this element (Overrides FMX.RS.SVG.TSVGElement.GetViewMatrix(TSVGMatrix,TSVGRect).)
|
|
GetViewMatrix(TSVGRect)
|
Overloaded. Returns a transformation matrix for viewing this element (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
GetWidth
|
Returns the Width of the Element.
If the Width property is a percentage, this method returns the Width for the Element by calculating the percentage of the nearest ViewBox's Width
|
|
GetWidthRaw
|
Returns the Width of the Element in raw measurement units (i.e., 1 inch, 2.5 centimeter).
The GetWidth method returns the width in pixels.
|
|
GetWritingMode
|
Returns the FMX.RS.SVG.TSVGGraphicElement.WritingMode of the element. If the WritingMode is inherited ( FMX.RS.SVG.TSVGGraphicElement.Inherits property), the writing mode of the parent is returned. (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
GetX
|
Returns the X Coordinate of the Element.
If the X property is a percentage, this method returns the X Coordinate for the Element by calculating the percentage of the nearest ViewBox's Width
|
|
GetXRaw
|
Returns the X Coordinate of the Element in raw measurement units (i.e., 1 inch, 2.5 centimeter).
The GetX method returns the X coordinate in pixels.
|
|
GetY
|
Returns the Y Coordinate of the Element.
If the Y property is a percentage, this method returns the Y Coordinate for the Element by calculating the percentage of the nearest ViewBox's Height
|
|
GetYRaw
|
Returns the Y Coordinate of the Element in raw measurement units (i.e., 1 inch, 2.5 centimeter).
The GetY method returns the Y coordinate in pixels.
|
|
HasAncestor(TSVGElement)
|
Returns true if the input element is an ancestor of the current SVG element (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
HasChild(TSVGElement)
|
Returns true if the input element is a direct child of the current SVG element (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
HasDescendant(TSVGElement)
|
Returns true if the input element is a descendant of the current SVG element (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
HasExtensions
|
Returns true if the required extensions are present. The RSCL supports no extensions at this time, if RequiredExtensions is not empty, this method will return False (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
HasFeatures
|
Returns true if the Owner document supports all of the features of the element. If all of the given features are supported, then the function evaluates to true; otherwise, the current element and its children are skipped and thus will not be rendered. (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
HasFollowing(TSVGElement)
|
Returns true if the input element follows the current SVG element (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
HasLanguage(String)
|
Returns True if the Language property matches the language IDs in the input parameter. Multiple languages can be specified by separating the language IDs with commas and/or spaces. (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
HasLanguages
|
Returns True if the Owner SVG document fragment supports the Language property or one of the SystemLanguages (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
HasPreceding(TSVGElement)
|
Returns true if the input element precedes the current SVG element (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
HasSibling(TSVGElement)
|
Returns true if the input element is a sibling (share same Parent) of the current SVG element (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
InternalBakeTransformation(TSVGMatrix)
|
Represents method InternalBakeTransformation(TSVGMatrix). (Inherited from FMX.RS.SVG.TSVGGraphicElement.)
|
|
InternalDraw(TSVGMatrix,TSVGCanvas,TSVGRect)
|
Draw the SVG to the specified canvas inside the specified rectangle. The matrix parameter specifies the cumulative transformations from the Parent element (and its Parents) to apply when drawing the element.
The current element is drawn first and then child elements.
|
|
InternalElementAtPos(TSVGMatrix,TSVGCanvas,TSVGPoint,TSVGRect,TSVGFindOptions)
|
Returns the SVG element located at the specified position in the SVG. The method assumes the size and location of the current element is the rectangle specified by aRect. Use the ElementAtPos method to determine which SVG element is at the specified location in the current element.
If no SVG element is found at the specified location, the function returns nil.
The DoInternalElementAtPos method does the actual detection for the current element
Note
|
The method searches the children first in reverse order and then the current element. This ensures the visually top-most element is found
|
|
|
IsCompactXML
|
Returns true if the svg XML should be made as small as possible when exporting the svg element as XML (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
IsEnabled
|
Returns true if the current element and every parent, grandparent, etc are FMX.RS.SVG.TSVGElement.Enabled. (Inherited from FMX.RS.SVG.TSVGElement.)
|
|
IsStored(TSVGStyleProperty,String)
|
Returns True if the style property should be stored when streaming (Overrides FMX.RS.SVG.TSVGGraphicElement.IsStored(TSVGStyleProperty,String).)
|
|
LengthGetInherited(TSVGStylePropertyLength,Boolean)
|
Event handler for FMX.RS.SVGTypes.TSVGStylePropertyLength objects.
TSVGStylePropertyLength objects use this event handler to get the inherited value for a style property.
|
|
LengthParent(TSVGStylePropertyLength,TSVGStylePropertyLength)
|
Event handler for FMX.RS.SVGTypes.TSVGStylePropertyLength objects.
TSVGStylePropertyLength objects use this event handler to get the inherited value for a style property.
|
|
LengthRangeViewBoxHeight(TSVGLength,Single,Single,Boolean)
|
Event handler for FMX.RS.SVGTypes.TSVGLength objects.
TSVGLength objects use this event handler to figure out the correct conversion of a percentage value to pixels. This event handler is use for the TSVGLength.OnRange event and uses the nearest viewbox's height to set the Min and Max parameters.
|
|
LengthRangeViewBoxWidth(TSVGLength,Single,Single,Boolean)
|
Event handler for FMX.RS.SVGTypes.TSVGLength objects.
TSVGLength objects use this event handler to figure out the correct conversion of a percentage value to pixels. This event handler is use for the TSVGLength.OnRange event and uses the nearest viewbox's width to set the Min and Max parameters.
|
|
LengthSetInherited(TSVGStylePropertyLength,Boolean)
|
Event handler for FMX.RS.SVGTypes.TSVGStylePropertyLength objects.
TSVGStylePropertyLength objects use this event handler to retrieve the inherited length for a style property.
|
|
LoadFromXML(IXMLNode)
|
Loads the SVG element's attributes and child nodes from the XML node (Overrides FMX.RS.SVG.TSVGElement.LoadFromXML(IXMLNode).)
|
|
MarkersAtPos(TRSPathData,TSVGMatrix,TSVGCanvas,TSVGPoint,TSVGRect,TSVGFindOptions)
|
Overloaded. Returns the SVG element of a marker that would be located at the specified position in the SVG. The method assumes the size and location of the current element is the rectangle specified by aRect. The method uses the MarkerStartURI, MarkerMidURI, and MarkerEndURI property to find the markers that would be displayed along the specified path. Then, it finds the element of the marker at that specified position
If no SVG element of a marker is found (or there are no markers) at the specified location, the function returns nil.
|
|
MarkersAtPos(TRSPoints,TSVGMatrix,TSVGCanvas,TSVGPoint,TSVGRect,TSVGFindOptions)
|
Overloaded. Returns the SVG element of a marker that would be located at the specified position in the SVG. The method assumes the size and location of the current element is the rectangle specified by aRect. The method uses the MarkerStartURI, MarkerMidURI, and MarkerEndURI property to find the markers that would be displayed along the specified path. Then, it finds the element of the marker at that specified position
If no SVG element of a marker is found (or there are no markers) at the specified location, the function returns nil.
|
|
Matches(String)
|
Returns the specificity (>=0) of the match with the selector string or -1 if there is no match.
A selector's specificity is calculated as follows:
• Count the number of ID selectors in the selector (= a) • Count the number of class selectors, attributes selectors, and pseudo-classes in the selector (= b) • Count the number of type selectors and pseudo-elements in the selector (= c) • Ignore the universal selector • Selectors inside the negation pseudo-class are counted like any other, but the negation itself does not count as a pseudo-class. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|