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

Class enchant.widget.Ninepatch

Class Summary
Constructor Attributes Constructor Name and Description
 
enchant.widget.Ninepatch(width, height)
Surface corresponding to 9patch.
Field Summary
Field Attributes Field Name and Description
<static>  
enchant.widget.Ninepatch.height
<static>  
enchant.widget.Ninepatch.src
9patch source.
<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)
Recreate set size.
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)
Surface corresponding to 9patch. Does not respond to settings in content area.
Parameters:
{Number} width
Surface width.
{Number} height
Surface height.

Field Detail

<static> enchant.widget.Ninepatch.height
<static> enchant.widget.Ninepatch.src
9patch source.
<static> enchant.widget.Ninepatch.width

Method Detail

  • <static> enchant.widget.Ninepatch.resize(width, height)
    Recreate set size.
    Parameters:
    {Number} width
    New width.
    {Number} height
    New height.