Class SVGPointList
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The SVGPointList interface represents a list of DOMPoint objects.
[Value("SVGPointList")]
public class SVGPointList
- Inheritance
-
SVGPointList
- Inherited Members
Remarks
An SVGPointList can be designated as read-only, which means that attempts to modify the object will result in an exception being thrown.
Constructors
SVGPointList()
public SVGPointList()
Properties
Length
The length read-only property of the SVGPointList interface returns the number of items in the list.
[Value("length")]
public ulong Length { get; }
Property Value
- ulong
The number of items in the list.
Remarks
NumberOfItems
The numberOfItems read-only property of the SVGPointList interface returns the number of items in the list.
[Value("numberOfItems")]
public ulong NumberOfItems { get; }
Property Value
- ulong
The number of items in the list.
Remarks
Methods
AppendItem(DOMPoint)
The appendItem() method of the SVGPointList interface adds a DOMPoint to the end of the list.
[Value("appendItem")]
public DOMPoint AppendItem(DOMPoint newItem)
Parameters
newItemDOMPoint
Returns
Remarks
Clear()
The clear() method of the SVGPointList interface removes all items from the list.
[Value("clear")]
public GlobalObject.Undefined Clear()
Returns
Remarks
Initialize(DOMPoint)
The initialize() method of the SVGPointList interface clears the list then adds a single new DOMPoint object to the list.
[Value("initialize")]
public DOMPoint Initialize(DOMPoint newItem)
Parameters
newItemDOMPoint
Returns
Remarks
InsertItemBefore(DOMPoint, ulong)
The insertItemBefore() method of the SVGPointList interface inserts a DOMPoint before another item in the list.
[Value("insertItemBefore")]
public DOMPoint InsertItemBefore(DOMPoint newItem, ulong index)
Parameters
Returns
Remarks
RemoveItem(ulong)
The removeItem() method of the SVGPointList interface removes a DOMPoint from the list.
[Value("removeItem")]
public DOMPoint RemoveItem(ulong index)
Parameters
indexulong
Returns
Remarks
ReplaceItem(DOMPoint, ulong)
The replaceItem() method of the SVGPointList interface replaces a DOMPoint in the list.
[Value("replaceItem")]
public DOMPoint ReplaceItem(DOMPoint newItem, ulong index)