GradientType
GradientType
| Type | Name | Interface Description |
|---|---|---|
| Enum | Horizontal | |
| Enum | Vertical |
Examples
Horizontal
let value = APJS.GradientType.Horizontal;
Vertical
let value = APJS.GradientType.Vertical;
Use Case
@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use GradientType here
}
onUpdate(deltaTime: number) {
}
}