ColorField
Extends:
Static Method Summary
Static Public Methods | ||
public static |
|
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
on_mousedown(e: *, x: *, y: *, button: *) |
|
public |
on_mousemove(e: *, x: *, y: *, button: *) |
|
public |
on_mouseup(e: *, x: *, y: *, button: *) |
|
public |
pick_h(x: *, y: *) |
|
public |
pick_sv(x: *, y: *) |
|
public |
|
|
public |
|
|
public |
|
|
public |
updateCanvas(force_update: boolean, _in_update: boolean): boolean |
|
public |
|
Private Methods | ||
private |
_recalcRGBA(): * |
|
private |
_redraw() |
|
private |
_sample_box(x: *, y: *): undefined[] |
Static Public Methods
Public Constructors
public constructor() source
Public Methods
public on_mousedown(e: *, x: *, y: *, button: *) source
Params:
Name | Type | Attribute | Description |
e | * | ||
x | * | ||
y | * | ||
button | * |
public on_mousemove(e: *, x: *, y: *, button: *) source
Params:
Name | Type | Attribute | Description |
e | * | ||
x | * | ||
y | * | ||
button | * |
public on_mouseup(e: *, x: *, y: *, button: *) source
Params:
Name | Type | Attribute | Description |
e | * | ||
x | * | ||
y | * | ||
button | * |
public pick_h(x: *, y: *) source
Params:
Name | Type | Attribute | Description |
x | * | ||
y | * |
public pick_sv(x: *, y: *) source
Params:
Name | Type | Attribute | Description |
x | * | ||
y | * |
public update(force_update: boolean) source
Params:
Name | Type | Attribute | Description |
force_update | boolean |
|