Parsed Android-style .9.png stretch and content metadata. 更多...
#include <NinePatch.h>
Public 属性 | |
| int | width = 0 |
| int | height = 0 |
| int | borderLeft = 0 |
| int | borderTop = 0 |
| int | borderRight = 0 |
| int | borderBottom = 0 |
| int | paddingLeft = 0 |
| int | paddingTop = 0 |
| int | paddingRight = 0 |
| int | paddingBottom = 0 |
详细描述
Parsed Android-style .9.png stretch and content metadata.
Source images contain a one-pixel marker frame. The top and left marker runs define the stretchable center; bottom and right runs define the content rectangle. All values below address the cropped image, excluding markers.
在文件 NinePatch.h 第 21 行定义.
类成员变量说明
◆ borderBottom
| int eve::ui::NinePatchInfo::borderBottom = 0 |
在文件 NinePatch.h 第 27 行定义.
被这些函数引用 eve::ui::parseNinePatch().
◆ borderLeft
| int eve::ui::NinePatchInfo::borderLeft = 0 |
在文件 NinePatch.h 第 24 行定义.
被这些函数引用 eve::ui::parseNinePatch().
◆ borderRight
| int eve::ui::NinePatchInfo::borderRight = 0 |
在文件 NinePatch.h 第 26 行定义.
被这些函数引用 eve::ui::parseNinePatch().
◆ borderTop
| int eve::ui::NinePatchInfo::borderTop = 0 |
在文件 NinePatch.h 第 25 行定义.
被这些函数引用 eve::ui::parseNinePatch().
◆ height
| int eve::ui::NinePatchInfo::height = 0 |
在文件 NinePatch.h 第 23 行定义.
被这些函数引用 eve::ui::parseNinePatch().
◆ paddingBottom
| int eve::ui::NinePatchInfo::paddingBottom = 0 |
在文件 NinePatch.h 第 31 行定义.
被这些函数引用 eve::ui::parseNinePatch().
◆ paddingLeft
| int eve::ui::NinePatchInfo::paddingLeft = 0 |
在文件 NinePatch.h 第 28 行定义.
被这些函数引用 eve::ui::parseNinePatch().
◆ paddingRight
| int eve::ui::NinePatchInfo::paddingRight = 0 |
在文件 NinePatch.h 第 30 行定义.
被这些函数引用 eve::ui::parseNinePatch().
◆ paddingTop
| int eve::ui::NinePatchInfo::paddingTop = 0 |
在文件 NinePatch.h 第 29 行定义.
被这些函数引用 eve::ui::parseNinePatch().
◆ width
| int eve::ui::NinePatchInfo::width = 0 |
在文件 NinePatch.h 第 22 行定义.
被这些函数引用 eve::ui::parseNinePatch().
该结构体的文档由以下文件生成:
- src/modules/ui/NinePatch.h