SVGRectElement
Overview
The SVGRectElement interface provides access to the properties of <rect> elements, as well as methods to manipulate them.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.WebAssembly.DOM
- Platforms: WebAssembly
- Ancestry: SVGGeometryElement | SVGRectElement
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 (declared in SVGGeometryElement)
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 (declared in SVGGeometryElement)
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
height
property height: Int32 read;
Int32 height { get; }
var height: Int32 { get{} }
Int32 height { __get; }
ReadOnly Property height() As Int32
isPointInFill (declared in SVGGeometryElement)
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 (declared in SVGGeometryElement)
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 (declared in SVGGeometryElement)
property pathLength: Int32 read;
Int32 pathLength { get; }
var pathLength: Int32 { get{} }
Int32 pathLength { __get; }
ReadOnly Property pathLength() As Int32
viewportElement (declared in SVGElement)
property viewportElement: Element read;
Element viewportElement { get; }
var viewportElement: Element { get{} }
Element viewportElement { __get; }
ReadOnly Property viewportElement() As Element
width
property width: Int32 read;
Int32 width { get; }
var width: Int32 { get{} }
Int32 width { __get; }
ReadOnly Property width() As Int32
x
property x: Double read;
Double x { get; }
var x: Double { get{} }
Double x { __get; }
ReadOnly Property x() As Double
y
dataset (declared in SVGElement)
property dataset: String read;
String dataset { get; }
var dataset: String { get{} }
String dataset { __get; }
ReadOnly Property dataset() As String
height
property height: Int32 read;
Int32 height { get; }
var height: Int32 { get{} }
Int32 height { __get; }
ReadOnly Property height() As Int32
ownerSVGElement (declared in SVGElement)
property ownerSVGElement: Element read;
Element ownerSVGElement { get; }
var ownerSVGElement: Element { get{} }
Element ownerSVGElement { __get; }
ReadOnly Property ownerSVGElement() As Element
pathLength (declared in SVGGeometryElement)
property pathLength: Int32 read;
Int32 pathLength { get; }
var pathLength: Int32 { get{} }
Int32 pathLength { __get; }
ReadOnly Property pathLength() As Int32
viewportElement (declared in SVGElement)
property viewportElement: Element read;
Element viewportElement { get; }
var viewportElement: Element { get{} }
Element viewportElement { __get; }
ReadOnly Property viewportElement() As Element
width
property width: Int32 read;
Int32 width { get; }
var width: Int32 { get{} }
Int32 width { __get; }
ReadOnly Property width() As Int32
x
property x: Double read;
Double x { get; }
var x: Double { get{} }
Double x { __get; }
ReadOnly Property x() As Double
y
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 (declared in SVGGeometryElement)
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 (declared in SVGGeometryElement)
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 (declared in SVGGeometryElement)
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 (declared in SVGGeometryElement)
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: