Documentation generator: JsDoc Toolkit 2.4.0
Template: Codeview 1.2
Generated on: 2016-0-4 21:24

Class enchant.widget.Ninepatch

Class Summary
Constructor Attributes Constructor Name and Description
 
enchant.widget.Ninepatch(width, height)
9patchに対応したサーフェース.
Field Summary
Field Attributes Field Name and Description
<static>  
enchant.widget.Ninepatch.height
<static>  
enchant.widget.Ninepatch.src
9patchのソース.
<static>  
enchant.widget.Ninepatch.width
Fields borrowed from class enchant.Surface:
context

Method Summary

Method Attributes Method Name and Description
<static>  
enchant.widget.Ninepatch.resize(width, height)
指定したサイズで作りなおす.
Methods borrowed from class enchant.Surface:
clear
clone
draw
getPixel
setPixel
toDataURL
Methods borrowed from class enchant.EventTarget:
addEventListener
clearEventListener
dispatchEvent
on
removeEventListener

Class Detail

enchant.widget.Ninepatch(width, height)
9patchに対応したサーフェース. コンテンツ領域の設定には対応していない.
Parameters:
{Number} width
Surfaceの横幅.
{Number} height
Surfaceの高さ.

Field Detail

<static> enchant.widget.Ninepatch.height
<static> enchant.widget.Ninepatch.src
9patchのソース.
<static> enchant.widget.Ninepatch.width

Method Detail

  • <static> enchant.widget.Ninepatch.resize(width, height)
    指定したサイズで作りなおす.
    Parameters:
    {Number} width
    新しい横幅.
    {Number} height
    新しい高さ.