Class enchant.widget.Ninepatch
- Defined in: widget.enchant.js
- Extends enchant.Surface
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.widget.Ninepatch(width, height)
|
Field Attributes | Field Name and Description |
---|---|
<static> |
enchant.widget.Ninepatch.height
|
<static> |
enchant.widget.Ninepatch.src
|
<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)
- Parameters:
- width
- height
Field Detail
<static>
enchant.widget.Ninepatch.height
<static>
enchant.widget.Ninepatch.src
<static>
enchant.widget.Ninepatch.width
Method Detail
-
<static> enchant.widget.Ninepatch.resize(width, height)
- Parameters:
- width
- height