CanvasLens
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
leaveTimeout: * |
Private Members | ||
private |
_color: * |
|
private |
|
|
private |
_ctx: * |
|
private |
|
|
private |
|
|
private |
_hex: * |
|
private |
_lensCanvas: * |
|
private |
|
|
private |
|
|
private |
_origCanvas: * |
|
private |
_origPixels: * |
|
private |
_origPixels2: * |
|
private |
_scale: number |
|
private |
_size: * |
|
private |
_size2: * |
|
private |
_x: * |
|
private |
_y: * |
Method Summary
Public Methods | ||
public |
close() |
|
public |
rgbToHex(R: *, G: *, B: *): * |
Private Methods | ||
private |
_onCopy(e: *) |
|
private |
|
|
private |
|
|
private |
_onMouseMove(e: *) |
|
private |
_toHex(n: *): * |
Public Constructors
public constructor() source
Public Members
public leaveTimeout: * source
Private Members
private _color: * source
private _copyListener: * source
private _ctx: * source
private _endFrameListener: * source
private _endFrameListenerId: * source
private _hex: * source
private _lensCanvas: * source
private _moveLeaveListener: * source
private _moveListener: * source
private _origCanvas: * source
private _origPixels: * source
private _origPixels2: * source
private _scale: number source
private _size: * source
private _size2: * source
private _x: * source
private _y: * source
Public Methods
public close() source
public rgbToHex(R: *, G: *, B: *): * source
Params:
Name | Type | Attribute | Description |
R | * | ||
G | * | ||
B | * |
Return:
* |
Private Methods
private _onCopy(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
private _onEndframe() source
private _onMouseLeave() source
private _onMouseMove(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |