|
ApplyStyle(TSVGStyle)
|
Applies the input style to the SVG element (Inherited from RSSVG.TSVGGraphicElement.)
|
|
ApplyStyles
|
Applies all styles that match the element to the element. All child elements also have their styles applied. (Overrides RSSVG.TSVGElement.ApplyStyles.)
|
|
Assign(TPersistent)
|
Represents method Assign(TPersistent). (Inherited from RSSVG.TSVGElement.)
|
|
AssignProperties(TPersistent)
|
Copies the properties of source to the current element (but not children) (Overrides RSSVG.TSVGElement.AssignProperties(TPersistent).)
|
|
AssignTo(TPersistent)
|
Represents method AssignTo(TPersistent). (Overrides RSSVG.TSVGElement.AssignTo(TPersistent).)
|
|
BakeTransformation(TSVGMatrix)
|
Represents method BakeTransformation(TSVGMatrix). (Inherited from RSSVG.TSVGGraphicElement.)
|
|
BakeTransformationChildren(TSVGMatrix)
|
Represents method BakeTransformationChildren(TSVGMatrix). (Inherited from RSSVG.TSVGGraphicElement.)
|
|
BeforeDestruction
|
Represents method BeforeDestruction. (Inherited from RSSVG.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 RSSVG.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 RSSVG.TSVGGraphicElement.)
|
|
Change(TSVGElement)
|
Called when any property of the element changes (Overrides RSSVG.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 RSSVG.TSVGElement.ChildSVGTypes.)
|
|
Clear
|
Clears the SVG element and resets its properties back to their defaults (Overrides RSSVG.TSVGElement.Clear.)
|
|
Clone(TSVGDocument)
|
Clones the element and all of its child elements. The aOwner parameter should be a different document (Inherited from RSSVG.TSVGElement.)
|
|
CreateControl(TControl)
|
Creates a TControl that best represents the svg element (Inherited from RSSVG.TSVGElement.)
|
|
CreateLength(TSVGLengthRangeEvent,TSVGUnitFactorsEvent)
|
Create a TSVGLength object and initializes its events to the parameter events (Inherited from RSSVG.TSVGElement.)
|
|
CreateLengths
|
Creates a TSVGLengths object list (Inherited from RSSVG.TSVGElement.)
|
|
CreateStylePropertyAutoLength(TSVGStyleProperty,TSVGLengthRangeEvent,TSVGUnitFactorsEvent)
|
Create a RSSVGTypes.TSVGStylePropertyAutoLength object and initialize it (Inherited from RSSVG.TSVGGraphicElement.)
|
|
CreateStylePropertyLength(TSVGStylePropertyLengthClass,TSVGStyleProperty,TSVGLengthRangeEvent,TSVGUnitFactorsEvent)
|
Create a RSSVGTypes.TSVGStylePropertyLength object and initialize it (Inherited from RSSVG.TSVGGraphicElement.)
|
|
DefineProperties(TFiler)
|
Represents method DefineProperties(TFiler). (Overrides RSSVG.TSVGElement.DefineProperties(TFiler).)
|
|
DisableAppearance(TSVGMatrix,TSVGCanvas,TSVGRect)
|
Changes the canvas fill and stroke values for disabled elements (Enabled = False) (Inherited from RSSVG.TSVGGraphicElement.)
|
|
DoBakeTransformation(TSVGMatrix)
|
Represents method DoBakeTransformation(TSVGMatrix). (Inherited from RSSVG.TSVGGraphicElement.)
|
|
DoDisableAppearance(TObject,TSVGMatrix,TSVGCanvas,TSVGRect)
|
The method returns true if the appearance of disabled elements (Enabled = False) should be changed.
The RSSVG.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,TRectF,TSVGControlElementEvent)
|
Represents method DoModifyControl(TControl,TSVGMatrix,TRectF,TSVGControlElementEvent). (Inherited from RSSVG.TSVGGraphicElement.)
|
|
DoOnElementFound(TSVGGraphicElement)
|
This method is called when an SVG element is found at the specified position during an RSSVG.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 RSSVG.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 RSSVG.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 RSSVG.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 RSSVG.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 RSSVG.TSVGElement.DoShouldDraw.)
|
|
Draw(TCanvas,TRect)
|
Overloaded. Draw the SVG to the specified canvas inside the specified rectangle (Inherited from RSSVG.TSVGElement.)
|
|
Draw(TSVGCanvas,TSVGRect)
|
Draw the SVG to the specified canvas inside the specified rectangle (Overrides RSSVG.TSVGElement.Draw(TSVGCanvas,TSVGRect).)
|
|
Draw(TSVGMatrix,TCanvas,TRect)
|
Overloaded. 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. (Inherited from RSSVG.TSVGGraphicElement.)
|
|
Draw(TSVGMatrix,TSVGCanvas,TSVGRect)
|
Overloaded. 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. (Inherited from RSSVG.TSVGGraphicElement.)
|
|
DrawChildren(TSVGMatrix,TSVGCanvas,TSVGRect)
|
Draws all of the current element's children to the canvas (Inherited from RSSVG.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 (Inherited from RSSVG.TSVGGraphicElement.)
|
|
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 RSSVG.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 RSSVG.TSVGGraphicElement.)
|
|
DrawPath(TRSPathData,TSVGMatrix,TSVGCanvas,TSVGRect)
|
Overloaded. Draws a path shape to the canvas (Inherited from RSSVG.TSVGGraphicElement.)
|
|
DrawPath(TSVGShapePath,TSVGMatrix,TSVGCanvas,TSVGRect)
|
Overloaded. Draws a path shape to the canvas (Inherited from RSSVG.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)
|
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
|
|
|
ElementNotification(TObject,TSVGElement,TCollectionNotification)
|
This method is called when an element is added or removed from the RSSVG.TSVGElement.Items property (Inherited from RSSVG.TSVGElement.)
|
|
EnableChange
|
Called when the RSSVG.TSVGElement.Enabled property changes (Overrides RSSVG.TSVGElement.EnableChange.)
|
|
EndDraw(TSVGMatrix,TSVGCanvas,TSVGRect)
|
Restores the canvas to its state before the current svg element and its children were drawn (Inherited from RSSVG.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 RSSVG.TSVGElement.)
|
|
FillPolygons(TSVGMatrix,TSVGCanvas)
|
Experimental method to use the Clipper library to create properly filled (based on FillRule) and clipped (GetClipPath) polygons (Inherited from RSSVG.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 RSSVG.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 RSSVG.TSVGElement.)
|
|
GenerateChildControls(TControl,TSVGMatrix,TRSRect,TSVGControlElementEvent)
|
Generates the child controls for the current svg element based on the RSSVG.TSVGElement.Items property (Inherited from RSSVG.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 RSSVG.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 RSSVG.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 RSSVG.TSVGGraphicElement.)
|
|
GetAbsoluteOpacity
|
Returns the opacity of the SVG element modified with its Parents' opacities (Inherited from RSSVG.TSVGGraphicElement.)
|
|
GetBoundsRect
|
Gets the Bounding Rectangle (in pixels) of the element. This value is the bounding rectangle before any transformations are applied. (Overrides RSSVG.TSVGGraphicElement.GetBoundsRect.)
|
|
GetBoundsRect(TSVGMatrix)
|
Returns the "true" BoundsRect where the boundaries of the element are modified by the input matrix plus (for graphic elements) its transformation Matrix (Overrides RSSVG.TSVGGraphicElement.GetBoundsRect(TSVGMatrix).)
|
|
GetBrush
|
Overloaded. Returns the Brush for the current element modified by any inherited properties (Inherited from RSSVG.TSVGGraphicElement.)
|
|
GetBrush(TSVGMatrix,TSVGRect)
|
Overloaded. Returns the Brush for the element, configured for the transformation and rectangle. (Inherited from RSSVG.TSVGGraphicElement.)
|
|
GetClipPath(TSVGCanvas)
|
Returns the clipping region of the current element based on its shape and its children's shape (Inherited from RSSVG.TSVGGraphicElement.)
|
|
GetClipRect
|
Returns the clipping rectangle for the element (Inherited from RSSVG.TSVGGraphicElement.)
|
|
GetCompositingQuality(TSVGColorRendering,TSVGColorInterpolation)
|
Represents method GetCompositingQuality(TSVGColorRendering,TSVGColorInterpolation). (Inherited from RSSVG.TSVGGraphicElement.)
|
|
GetFont
|
Returns the Font for the current element modified by any inherited properties (Inherited from RSSVG.TSVGGraphicElement.)
|
|
GetFormatStr
|
Returns a format string for formatting floating point numbers (Inherited from RSSVG.TSVGElement.)
|
|
GetGraphicParent
|
Returns the closest ancestor SVG element that is a TSVGGraphicElement class (Inherited from RSSVG.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 RSSVG.TSVGElement.)
|
|
GetOptions
|
Represents method GetOptions. (Inherited from RSSVG.TSVGElement.)
|
|
GetOwner
|
Returns the SVG document that owns this element (Inherited from RSSVG.TSVGElement.)
|
|
GetPen
|
Overloaded. Returns the Pen for the current element modified by any inherited properties (Inherited from RSSVG.TSVGGraphicElement.)
|
|
GetPen(TSVGMatrix,TSVGRect)
|
Overloaded. Returns the Pen for the element, configured for the transformation and rectangle. (Inherited from RSSVG.TSVGGraphicElement.)
|
|
GetShape
|
Returns a path that represents the shape of the current svg element.
This method does not work for all svg element types
|
|
GetSmoothingMode(TSVGShapeRendering)
|
Represents method GetSmoothingMode(TSVGShapeRendering). (Inherited from RSSVG.TSVGGraphicElement.)
|
|
GetSVGType
|
Returns the SVG element type of the class (Inherited from RSSVG.TSVGElement.)
|
|
GetTextRenderingHint(TSVGTextRendering)
|
Represents method GetTextRenderingHint(TSVGTextRendering). (Inherited from RSSVG.TSVGGraphicElement.)
|
|
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 RSSVG.TSVGElement.GetUnitFactors.)
|
|
GetViewMatrix(TRect)
|
Overloaded. Returns a transformation matrix for viewing this element (Inherited from RSSVG.TSVGElement.)
|
|
GetViewMatrix(TSVGMatrix,TRect)
|
Overloaded. Returns a transformation matrix for viewing this element (Inherited from RSSVG.TSVGElement.)
|
|
GetViewMatrix(TSVGMatrix,TSVGRect)
|
Overloaded. Returns a transformation matrix for viewing this element (Inherited from RSSVG.TSVGElement.)
|
|
GetViewMatrix(TSVGRect)
|
Overloaded. Returns a transformation matrix for viewing this element (Inherited from RSSVG.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 RSSVG.TSVGGraphicElement.WritingMode of the element. If the WritingMode is inherited ( RSSVG.TSVGGraphicElement.Inherits property), the writing mode of the parent is returned. (Inherited from RSSVG.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 RSSVG.TSVGElement.)
|
|
HasChild(TSVGElement)
|
Returns true if the input element is a direct child of the current SVG element (Inherited from RSSVG.TSVGElement.)
|
|
HasDescendant(TSVGElement)
|
Returns true if the input element is a descendant of the current SVG element (Inherited from RSSVG.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 RSSVG.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 RSSVG.TSVGElement.)
|
|
HasFollowing(TSVGElement)
|
Returns true if the input element follows the current SVG element (Inherited from RSSVG.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 RSSVG.TSVGElement.)
|
|
HasLanguages
|
Returns True if the Owner SVG document fragment supports the Language property or one of the SystemLanguages (Inherited from RSSVG.TSVGElement.)
|
|
HasPreceding(TSVGElement)
|
Returns true if the input element precedes the current SVG element (Inherited from RSSVG.TSVGElement.)
|
|
HasSibling(TSVGElement)
|
Returns true if the input element is a sibling (share same Parent) of the current SVG element (Inherited from RSSVG.TSVGElement.)
|
|
InternalBakeTransformation(TSVGMatrix)
|
Represents method InternalBakeTransformation(TSVGMatrix). (Inherited from RSSVG.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 RSSVG.TSVGElement.)
|
|
IsEnabled
|
Returns true if the current element and every parent, grandparent, etc are RSSVG.TSVGElement.Enabled. (Inherited from RSSVG.TSVGElement.)
|
|
IsStored(TSVGStyleProperty,String)
|
Returns True if the style property should be stored when streaming (Inherited from RSSVG.TSVGGraphicElement.)
|
|
LengthGetInherited(TSVGStylePropertyLength,Boolean)
|
Event handler for RSSVGTypes.TSVGStylePropertyLength objects.
TSVGStylePropertyLength objects use this event handler to get the inherited value for a style property.
|
|
LengthParent(TSVGStylePropertyLength,TSVGStylePropertyLength)
|
Event handler for RSSVGTypes.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 RSSVGTypes.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 RSSVGTypes.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 RSSVGTypes.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 RSSVG.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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|