Class
SparkAxisCollection

Definition

Constructors

SparkAxisCollection(SparkArea)

Initializes a new instance of the SparkAxisCollection class.

Declaration

cs-api-definition
public SparkAxisCollection(SparkArea owner)

Parameters

owner

SparkArea

The owner.

Properties

Owner

Gets the owner.

Declaration

cs-api-definition
public SparkArea Owner { get; }

Property Value

SparkArea

The owner.

Methods

AddRange(params SparkAxis[])

Adds the range.

Declaration

cs-api-definition
public void AddRange(params SparkAxis[] items)

Parameters

items

SparkAxis[]

ClearItems()

Removes all elements from the Collection<T>.

Declaration

cs-api-definition
protected override void ClearItems()

Overrides Collection<SparkAxis>.ClearItems()

Get<T>()

Gets the axis collection.

Declaration

cs-api-definition
public T[] Get<T>() where T : SparkAxis

Returns

T[]

Get<T>(int)

Gets the axis at the specified index.

Declaration

cs-api-definition
public T Get<T>(int index) where T : SparkAxis

Parameters

index

int

The index.

Returns

T

GetRenderEnumerator()

Gets the render enumerator.

Declaration

cs-api-definition
public IEnumerator<SparkAxis> GetRenderEnumerator()

Returns

IEnumerator<SparkAxis>

InsertItem(int, SparkAxis)

Inserts the item.

Declaration

cs-api-definition
protected override void InsertItem(int index, SparkAxis item)

Parameters

index

int

The index.

item

SparkAxis

The item.

Overrides Collection<SparkAxis>.InsertItem(int, SparkAxis)

IsAttached(int)

Determines whether the specified index is attached.

Declaration

cs-api-definition
public bool IsAttached(int index)

Parameters

index

int

The index.

Returns

bool

Purge()

Remove all unused axes from the collection

Declaration

cs-api-definition
public void Purge()

RemoveItem(int)

Removes the element at the specified index of the Collection<T>.

Declaration

cs-api-definition
protected override void RemoveItem(int index)

Parameters

index

int

The zero-based index of the element to remove.

Exceptions

ArgumentOutOfRangeException

index is less than zero.-or-index is equal to or greater than Count.

Overrides Collection<SparkAxis>.RemoveItem(int)