SVGPointList extension type
The SVGPointList
interface represents a list of SVGPoint
objects.
An SVGPointList
can be designated as read-only, which means that attempts
to modify the object will result in an exception being thrown.
API documentation sourced from MDN Web Docs.
- on
- Implemented types
- Available extensions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
The
length
read-only property of the SVGPointList interface returns the number of items in the list.no setter - numberOfItems → int
-
The
numberOfItems
read-only property of the SVGPointList interface returns the number of items in the list.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
appendItem(
DOMPoint newItem) → DOMPoint -
The
appendItem()
method of the SVGPointList interface adds aSVGPoint
to the end of the list. -
clear(
) → void -
The
clear()
method of the SVGPointList interface removes all items from the list. -
getItem(
int index) → DOMPoint -
The
getItem()
method of the SVGPointList interface gets one item from the list at the specified index. -
initialize(
DOMPoint newItem) → DOMPoint -
The
initialize()
method of the SVGPointList interface clears the list then adds a single newSVGPoint
object to the list. -
insertItemBefore(
DOMPoint newItem, int index) → DOMPoint -
The
insertItemBefore()
method of the SVGPointList interface inserts aSVGPoint
before another item in the list. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeItem(
int index) → DOMPoint -
The
removeItem()
method of the SVGPointList interface removes aSVGPoint
from the list. -
replaceItem(
DOMPoint newItem, int index) → DOMPoint -
The
replaceItem()
method of the SVGPointList interface replaces aSVGPoint
in the list. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator []=(
int index, DOMPoint newItem) → void