An Actor
that participates in layout and provides a minimum, preferred, and maximum size.
The default preferred size of a widget is 0 and this is almost always overridden by a subclass. The default minimum size returns the preferred size, so a subclass may choose to return 0 if it wants to allow itself to be sized smaller. The default maximum size is 0, which means no maximum size.
See Layout
for details on how a widget should participate in layout. A widget's mutator methods should call invalidate()
or invalidateHierarchy()
as needed.
字段摘要 | |
---|---|
String |
color
|
String |
fillParent
If true, this actor will be sized to the parent in Layout.validate() . |
String |
height
|
String |
layoutEnabled
Enables or disables the layout for this actor and all child actors, recursively. |
String |
name
|
String |
originX
|
String |
originY
|
String |
rotation
|
String |
scale
|
String |
scaleX
|
String |
scaleY
|
String |
touchable
|
String |
visible
|
String |
width
|
String |
x
|
String |
y
|
String |
z-index
|
方法摘要 |
---|
子事物摘要 | |
---|---|
|
actions
|
字段详细信息 |
---|
If true, this actor will be sized to the parent in Layout.validate()
.
Enables or disables the layout for this actor and all child actors, recursively.
方法详细信息 |
---|
子事物详细信息 |
---|