File

projects/wms-framework/src/lib/media/GradientStopCollection.ts

Description

Collection of GradientStop.

Extends

SimpleList

Index

Properties
Methods

Properties

Protected _internalArray
Type : T[]
Default value : []
Inherited from SimpleList
Defined in SimpleList:276
Protected Static interfacesInitialized
Default value : false
Inherited from SimpleList
Defined in SimpleList:274

Methods

add
add(value: T)
Inherited from SimpleList
Defined in SimpleList:389

Adds an element to the list

Parameters :
Name Type Optional
value T No
Returns : void
addRange
addRange(range: Iterable<T>)
Inherited from SimpleList
Defined in SimpleList:452

Adds elements of an iterable to the list

Parameters :
Name Type Optional
range Iterable<T> No
Returns : void
clear
clear()
Inherited from SimpleList
Defined in SimpleList:398

Clears the list

Returns : void
contains
contains(value: T)
Inherited from SimpleList
Defined in SimpleList:410

Check if a value is contained in the list

Parameters :
Name Type Optional
value T No
Returns : boolean
copyTo
copyTo(target: T[], index: number)
Inherited from SimpleList
Defined in SimpleList:513

Copies the list to a target array

Parameters :
Name Type Optional
target T[] No
index number No
Returns : void
forEach
forEach(action: (e: T) => void)
Inherited from SimpleList
Defined in SimpleList:439

Performs an action on each element of the list

Parameters :
Name Type Optional
action function No
Returns : void
getItem
getItem(index: number)
Inherited from SimpleList
Defined in SimpleList:323
Parameters :
Name Type Optional
index number No
Returns : T
indexOf
indexOf(value: T)
Inherited from SimpleList
Defined in SimpleList:343

Index of value in list

Parameters :
Name Type Optional
value T No
Returns : any
Protected Static initializeSupportedInterfaces
initializeSupportedInterfaces()
Inherited from SimpleList
Defined in SimpleList:278
Returns : void
insert
insert(index: number, value: T)
Inherited from SimpleList
Defined in SimpleList:355

Inserts element in index

Parameters :
Name Type Optional
index number No
value T No
Returns : void
insertRange
insertRange(position: number, range: Iterable<T>)
Inherited from SimpleList
Defined in SimpleList:466

Inserts elements of an interable to the list in a position

Parameters :
Name Type Optional
position number No
range Iterable<T> No
Returns : void
remove
remove(value: T)
Inherited from SimpleList
Defined in SimpleList:422

Removes a value from the list

Parameters :
Name Type Optional
value T No
Returns : boolean
Public removeAll
removeAll(predicate: (e: T) => void)
Inherited from SimpleList
Defined in SimpleList:527

Removes all elements from the collection by a predicate

Parameters :
Name Type Optional
predicate function No
Returns : number
removeAt
removeAt(index: number)
Inherited from SimpleList
Defined in SimpleList:366

Removes element at index

Parameters :
Name Type Optional
index number No
Returns : void
setItem
setItem(index: number, value: T)
Inherited from SimpleList
Defined in SimpleList:329
Parameters :
Name Type Optional
index number No
value T No
Returns : void
sort
sort()
Inherited from SimpleList
Defined in SimpleList:479

Sorts the list

Returns : any
Public toArray
toArray()
Inherited from SimpleList
Defined in SimpleList:545

Converts the list to an array

Returns : {}
()
Inherited from SimpleList
Defined in SimpleList:549
Returns : Iterator<T, any, undefined>
import { SimpleList } from '../baseframework/collections';
import { GradientStop } from './GradientStop';

/**
 * Collection of `GradientStop`.
 *
 * @export
 * @class GradientStopCollection
 * @extends {SimpleList<GradientStop>}
 * @wType System.Windows.Media.GradientStopCollection
 */
export class GradientStopCollection extends SimpleList<GradientStop> {}

result-matching ""

    No results matching ""