| Package | laya.webgl.canvas.save |
| Class | public class SaveBase |
| Inheritance | SaveBase Object |
| Implements | ISaveData |
| Method | Defined By | ||
|---|---|---|---|
SaveBase() | SaveBase | ||
_createArray():Array [static] | SaveBase | ||
_init():* [static] | SaveBase | ||
isSaveMark():Boolean | SaveBase | ||
restore(context:WebGLContext2D):void | SaveBase | ||
save(context:WebGLContext2D, type:int, dataObj:*, newSubmit:Boolean):void [static] | SaveBase | ||
| Constant | Defined By | ||
|---|---|---|---|
| TYPE_ALPHA : int = 0x1 [static] | SaveBase | ||
| TYPE_CLIPRECT : int = 0x20000 [static] | SaveBase | ||
| TYPE_CLIPRECT_STENCIL : int = 0x40000 [static] | SaveBase | ||
| TYPE_ENABLEMERGE : int = 0x2000 [static] | SaveBase | ||
| TYPE_FILESTYLE : int = 0x2 [static] | SaveBase | ||
| TYPE_FILTERS : int = 0x200000 [static] | SaveBase | ||
| TYPE_FILTERS_TYPE : int = 0x400000 [static] | SaveBase | ||
| TYPE_FONT : int = 0x8 [static] | SaveBase | ||
| TYPE_GLOBALCOMPOSITEOPERATION : int = 0x10000 [static] | SaveBase | ||
| TYPE_IBVB : int = 0x80000 [static] | SaveBase | ||
| TYPE_LINEWIDTH : int = 0x100 [static] | SaveBase | ||
| TYPE_MARK : int = 0x400 [static] | SaveBase | ||
| TYPE_SHADER : int = 0x100000 [static] | SaveBase | ||
| TYPE_STROKESTYLE : int = 0x200 [static] | SaveBase | ||
| TYPE_TEXTALIGN : int = 0x8000 [static] | SaveBase | ||
| TYPE_TEXTBASELINE : int = 0x4000 [static] | SaveBase | ||
| TYPE_TRANSFORM : int = 0x800 [static] | SaveBase | ||
| TYPE_TRANSLATE : int = 0x1000 [static] | SaveBase | ||
| SaveBase | () | Constructor |
public function SaveBase()| _createArray | () | method |
public static function _createArray():ArrayReturnsArray |
| _init | () | method |
public static function _init():*Returns* |
| isSaveMark | () | method |
public function isSaveMark():BooleanReturnsBoolean |
| restore | () | method |
| save | () | method |
public static function save(context:WebGLContext2D, type:int, dataObj:*, newSubmit:Boolean):voidParameters
context:WebGLContext2D | |
type:int | |
dataObj:* | |
newSubmit:Boolean |
| TYPE_ALPHA | Constant |
public static const TYPE_ALPHA:int = 0x1| TYPE_CLIPRECT | Constant |
public static const TYPE_CLIPRECT:int = 0x20000| TYPE_CLIPRECT_STENCIL | Constant |
public static const TYPE_CLIPRECT_STENCIL:int = 0x40000| TYPE_ENABLEMERGE | Constant |
public static const TYPE_ENABLEMERGE:int = 0x2000| TYPE_FILESTYLE | Constant |
public static const TYPE_FILESTYLE:int = 0x2| TYPE_FILTERS | Constant |
public static const TYPE_FILTERS:int = 0x200000| TYPE_FILTERS_TYPE | Constant |
public static const TYPE_FILTERS_TYPE:int = 0x400000| TYPE_FONT | Constant |
public static const TYPE_FONT:int = 0x8| TYPE_GLOBALCOMPOSITEOPERATION | Constant |
public static const TYPE_GLOBALCOMPOSITEOPERATION:int = 0x10000| TYPE_IBVB | Constant |
public static const TYPE_IBVB:int = 0x80000| TYPE_LINEWIDTH | Constant |
public static const TYPE_LINEWIDTH:int = 0x100| TYPE_MARK | Constant |
public static const TYPE_MARK:int = 0x400| TYPE_SHADER | Constant |
public static const TYPE_SHADER:int = 0x100000| TYPE_STROKESTYLE | Constant |
public static const TYPE_STROKESTYLE:int = 0x200| TYPE_TEXTALIGN | Constant |
public static const TYPE_TEXTALIGN:int = 0x8000| TYPE_TEXTBASELINE | Constant |
public static const TYPE_TEXTBASELINE:int = 0x4000| TYPE_TRANSFORM | Constant |
public static const TYPE_TRANSFORM:int = 0x800| TYPE_TRANSLATE | Constant |
public static const TYPE_TRANSLATE:int = 0x1000