projects/wms-framework/src/lib/media/GradientStop.ts
Represents a color stop at some point along the gradient.
Properties |
Public Color |
Type : SmColor
|
Default value : new SmColor()
|
Stop color. |
Public Offset |
Type : number
|
Default value : 0
|
Offset along the gradient. |
import { SmColor } from './color';
/**
* Represents a color stop at some point along the gradient.
*
* @export
* @class GradientStop
* @wType System.Windows.Media.GradientStop
*/
export class GradientStop {
/**
* Offset along the gradient.
*
* @memberof GradientStop
*/
public Offset = 0;
/**
* Stop color.
*
* @type {SmColor}
* @memberof GradientStop
*/
public Color: SmColor = new SmColor();
}