1#ifndef __SLAYOUTSIZE__H__
2#define __SLAYOUTSIZE__H__
44 void setWrapContent();
50 bool isWrapContent()
const;
55 void setMatchParent();
61 bool isMatchParent()
const;
68 void setSize(
float fSize, Unit unit);
74 bool isSpecifiedSize()
const;
92 int toPixelSize(
int scale)
const;
110 void parseString(
const SStringW &strSize);
124 bool valueEqual(
float value);
139 static bool fequal(
float a,
float b);
SLayoutSize(float fSize=0.0f)
默认构造函数
A class representing an ASCII string.