Table of Contents

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.

See also on MDN

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

newItem DOMPoint

Returns

DOMPoint

The DOMPoint object that was appended.

Remarks

Clear()

The clear() method of the SVGPointList interface removes all items from the list.

[Value("clear")]
public GlobalObject.Undefined Clear()

Returns

GlobalObject.Undefined

None (GlobalObject.Undefined).

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

newItem DOMPoint

Returns

DOMPoint

The added DOMPoint object.

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

newItem DOMPoint
index ulong

Returns

DOMPoint

The DOMPoint object that was inserted.

Remarks

RemoveItem(ulong)

The removeItem() method of the SVGPointList interface removes a DOMPoint from the list.

[Value("removeItem")]
public DOMPoint RemoveItem(ulong index)

Parameters

index ulong

Returns

DOMPoint

The removed DOMPoint object.

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)

Parameters

newItem DOMPoint
index ulong

Returns

DOMPoint

The new DOMPoint object.

Remarks