xml version="1.0" encoding="UTF-8"?> Layer

Layer

 The Layer class is a class for managing layers.

Members

Constructor
Layer
Methods
adjustGamma ( Gamma correction )
affineCopy ( Affine transformation copy )
assignImages ( Copy images )
beginTransition ( Start transition )
bringToBack ( Move to back )
bringToFront ( Move to front )
colorRect ( Rectangular semi-transparent fill )
convertType ( Convert layer image representation format )
copy9Patch ( Image copy using 9-patch (since 1.3.0) )
copyFromBitmapToMainImage ( Copy image from Bitmap )
copyRect ( Rectangular copy )
copyToBitmapFromMainImage ( Copy image to Bitmap )
doBoxBlur ( Apply box blur )
doGrayScale ( Grayscale conversion )
drawGlyph ( Draw glyph )
drawText ( Draw text )
fillRect ( Rectangular fill )
flipLR ( Flip left-right )
flipUD ( Flip up-down )
focus ( Set focus )
focusNext ( Set focus to the next layer )
focusPrev ( Set focus to the previous layer )
getLayerAt ( Get layer at specified position )
getMainPixel ( Get main image color )
getMaskPixel ( Get mask image value )
getProvincePixel ( Get province image value )
independMainImage ( Unshare main image )
independProvinceImage ( Unshare province image )
loadImages ( Load images )
loadProvinceImage ( Load province image )
moveBefore ( Move in front of specified layer )
moveBehind ( Move behind specified layer )
operateAffine ( Affine transformation arithmetic composition )
operateRect ( Rectangular arithmetic composition )
operateStretch ( Stretch arithmetic composition )
piledCopy ( Copy image with layers piled up )
releaseCapture ( Release mouse event capture )
removeMode ( Release modal state )
saveLayerImage ( Save image )
setAttentionPos ( Specify attention position )
setClip ( Set drawing clip rectangle )
setCursorPos ( Specify mouse cursor position )
setImagePos ( Set layer image offset )
setImageSize ( Set layer image size )
setMainPixel ( Set main image color )
setMaskPixel ( Set mask image value )
setMode ( Set to modal state )
setPos ( Set layer display position )
setProvincePixel ( Set province image value )
setSize ( Set layer display size )
setSizeToImageSize ( Match layer display size to image size )
stopTransition ( Stop transition )
stretchCopy ( Stretch copy )
update ( Update image )
Properties
absolute ( Absolute position )
absoluteOrderMode ( Whether in absolute position mode )
attentionLeft ( Attention left position )
attentionTop ( Attention top position )
cached ( Whether to cache )
callOnPaint ( Whether to call onPaint event )
children ( Child layer array )
clipHeight ( Drawing clip rectangle height )
clipLeft ( Drawing clip rectangle left position )
clipTop ( Drawing clip rectangle top position )
clipWidth ( Drawing clip rectangle width )
cursor ( Mouse cursor )
cursorX ( Mouse cursor x position )
cursorY ( Mouse cursor y position )
enabled ( Whether enabled )
face ( Drawing method )
focusable ( Whether focusable )
focused ( Whether focused )
<