SVGGeometryElement
Overview
The SVGGeometryElement interface represents SVG elements whose rendering is defined by geometry with an equivalent path, and which can be filled and stroked. This includes paths and the basic shapes.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.WebAssembly.DOM
- Platforms: WebAssembly
- Ancestry: SVGGraphicsElement | SVGGeometryElement
dataset (declared in SVGElement)
property dataset: String read;
String dataset { get; }
var dataset: String { get{} }
String dataset { __get; }
ReadOnly Property dataset() As String
getBBox (declared in SVGGraphicsElement)
Returns a DOMRect representing the computed bounding box of the current element.
method getBBox: SVGRect
SVGRect getBBox()
func getBBox() -> SVGRect
SVGRect getBBox()
Function getBBox() As SVGRect
getPointAtLength
Returns the point at a given distance along the path.
method getPointAtLength(pardistance: dynamic): DOMPoint
DOMPoint getPointAtLength(dynamic pardistance)
func getPointAtLength(_ pardistance: dynamic) -> DOMPoint
DOMPoint getPointAtLength(dynamic pardistance)
Function getPointAtLength(pardistance As dynamic) As DOMPoint
Parameters:
- pardistance:
getTotalLength
Returns the user agent's computed value for the total length of the path in user units.
method getTotalLength: Double
Double getTotalLength()
func getTotalLength() -> Double
Double getTotalLength()
Function getTotalLength() As Double
isPointInFill
Determines whether a given point is within the fill shape of an element. Normal hit testing rules apply; the value of the pointer-events property on the element determines whether a point is considered to be within the fill.
method isPointInFill(parpoint: dynamic): Boolean
Boolean isPointInFill(dynamic parpoint)
func isPointInFill(_ parpoint: dynamic) -> Boolean
Boolean isPointInFill(dynamic parpoint)
Function isPointInFill(parpoint As dynamic) As Boolean
Parameters:
- parpoint:
isPointInStroke
Determines whether a given point is within the stroke shape of an element. Normal hit testing rules apply; the value of the pointer-events property on the element determines whether a point is considered to be within the stroke.
method isPointInStroke(parpoint: dynamic): Boolean
Boolean isPointInStroke(dynamic parpoint)
func isPointInStroke(_ parpoint: dynamic) -> Boolean
Boolean isPointInStroke(dynamic parpoint)
Function isPointInStroke(parpoint As dynamic) As Boolean
Parameters:
- parpoint:
ownerSVGElement (declared in SVGElement)
property ownerSVGElement: Element read;
Element ownerSVGElement { get; }
var ownerSVGElement: Element { get{} }
Element ownerSVGElement { __get; }
ReadOnly Property ownerSVGElement() As Element
pathLength
property pathLength: Int32 read;
Int32 pathLength { get; }
var pathLength: Int32 { get{} }
Int32 pathLength { __get; }
ReadOnly Property pathLength() As Int32
viewportElement (declared in SVGElement)
dataset (declared in SVGElement)
property dataset: String read;
String dataset { get; }
var dataset: String { get{} }
String dataset { __get; }
ReadOnly Property dataset() As String
ownerSVGElement (declared in SVGElement)
property ownerSVGElement: Element read;
Element ownerSVGElement { get; }
var ownerSVGElement: Element { get{} }
Element ownerSVGElement { __get; }
ReadOnly Property ownerSVGElement() As Element
pathLength
property pathLength: Int32 read;
Int32 pathLength { get; }
var pathLength: Int32 { get{} }
Int32 pathLength { __get; }
ReadOnly Property pathLength() As Int32
viewportElement (declared in SVGElement)
getBBox (declared in SVGGraphicsElement)
Returns a DOMRect representing the computed bounding box of the current element.
method getBBox: SVGRect
SVGRect getBBox()
func getBBox() -> SVGRect
SVGRect getBBox()
Function getBBox() As SVGRect
getPointAtLength
Returns the point at a given distance along the path.
method getPointAtLength(pardistance: dynamic): DOMPoint
DOMPoint getPointAtLength(dynamic pardistance)
func getPointAtLength(_ pardistance: dynamic) -> DOMPoint
DOMPoint getPointAtLength(dynamic pardistance)
Function getPointAtLength(pardistance As dynamic) As DOMPoint
Parameters:
- pardistance:
getTotalLength
Returns the user agent's computed value for the total length of the path in user units.
method getTotalLength: Double
Double getTotalLength()
func getTotalLength() -> Double
Double getTotalLength()
Function getTotalLength() As Double
isPointInFill
Determines whether a given point is within the fill shape of an element. Normal hit testing rules apply; the value of the pointer-events property on the element determines whether a point is considered to be within the fill.
method isPointInFill(parpoint: dynamic): Boolean
Boolean isPointInFill(dynamic parpoint)
func isPointInFill(_ parpoint: dynamic) -> Boolean
Boolean isPointInFill(dynamic parpoint)
Function isPointInFill(parpoint As dynamic) As Boolean
Parameters:
- parpoint:
isPointInStroke
Determines whether a given point is within the stroke shape of an element. Normal hit testing rules apply; the value of the pointer-events property on the element determines whether a point is considered to be within the stroke.
method isPointInStroke(parpoint: dynamic): Boolean
Boolean isPointInStroke(dynamic parpoint)
func isPointInStroke(_ parpoint: dynamic) -> Boolean
Boolean isPointInStroke(dynamic parpoint)
Function isPointInStroke(parpoint As dynamic) As Boolean
Parameters:
- parpoint: