projects/wms-framework/src/lib/media/GradientStopCollection.ts
Collection of GradientStop
.
Properties |
|
Methods |
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
|
add | ||||||
add(value: T)
|
||||||
Inherited from
SimpleList
|
||||||
Defined in
SimpleList:389
|
||||||
Adds an element to the list
Parameters :
Returns :
void
|
addRange | ||||||
addRange(range: Iterable<T>)
|
||||||
Inherited from
SimpleList
|
||||||
Defined in
SimpleList:452
|
||||||
Adds elements of an iterable to the list
Parameters :
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 :
Returns :
boolean
|
copyTo | |||||||||
copyTo(target: T[], index: number)
|
|||||||||
Inherited from
SimpleList
|
|||||||||
Defined in
SimpleList:513
|
|||||||||
Copies the list to a target array
Parameters :
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 :
Returns :
void
|
getItem | ||||||
getItem(index: number)
|
||||||
Inherited from
SimpleList
|
||||||
Defined in
SimpleList:323
|
||||||
Parameters :
Returns :
T
|
indexOf | ||||||
indexOf(value: T)
|
||||||
Inherited from
SimpleList
|
||||||
Defined in
SimpleList:343
|
||||||
Index of value in list
Parameters :
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 :
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 :
Returns :
void
|
remove | ||||||
remove(value: T)
|
||||||
Inherited from
SimpleList
|
||||||
Defined in
SimpleList:422
|
||||||
Removes a value from the list
Parameters :
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 :
Returns :
number
|
removeAt | ||||||
removeAt(index: number)
|
||||||
Inherited from
SimpleList
|
||||||
Defined in
SimpleList:366
|
||||||
Removes element at index
Parameters :
Returns :
void
|
setItem | |||||||||
setItem(index: number, value: T)
|
|||||||||
Inherited from
SimpleList
|
|||||||||
Defined in
SimpleList:329
|
|||||||||
Parameters :
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> {}