You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-20 07:26:18 +00:00
Move to Renderer V2
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
import { NitroToolbarEvent } from './NitroToolbarEvent';
|
||||
|
||||
export class NitroToolbarAnimateIconEvent extends NitroToolbarEvent
|
||||
{
|
||||
public static ANIMATE_ICON: string = 'NTAIE_ANIMATE_ICON';
|
||||
|
||||
private _image: HTMLImageElement;
|
||||
private _x: number;
|
||||
private _y: number;
|
||||
|
||||
constructor(image: HTMLImageElement, x: number, y: number)
|
||||
{
|
||||
super(NitroToolbarAnimateIconEvent.ANIMATE_ICON);
|
||||
|
||||
this._image = image;
|
||||
this._x = x;
|
||||
this._y = y;
|
||||
}
|
||||
|
||||
public get image(): HTMLImageElement
|
||||
{
|
||||
return this._image;
|
||||
}
|
||||
|
||||
public get x(): number
|
||||
{
|
||||
return this._x;
|
||||
}
|
||||
|
||||
public get y(): number
|
||||
{
|
||||
return this._y;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user