anchorOffset(com.badlogic.gdx.math.Vector2 anchorOffset,
com.badlogic.gdx.scenes.scene2d.Actor child,
int index,
int numChildren,
CircularGroup group)
float
angle(float defaultAngle,
com.badlogic.gdx.scenes.scene2d.Actor child,
int index,
int numChildren,
CircularGroup group)
com.badlogic.gdx.math.Vector2
localAnchor(com.badlogic.gdx.math.Vector2 localAnchor,
com.badlogic.gdx.scenes.scene2d.Actor child,
int index,
int numChildren,
CircularGroup group)
float
rotation(float angle,
com.badlogic.gdx.scenes.scene2d.Actor child,
int index,
int numChildren,
CircularGroup group)
Method Details
angle
floatangle(float defaultAngle,
com.badlogic.gdx.scenes.scene2d.Actor child,
int index,
int numChildren,
CircularGroup group)
Parameters:
defaultAngle - the linearly calculated angle of the child for even distribution
Returns:
the angle of the child (CircularGroup.angleOffset will be added to this)
rotation
floatrotation(float angle,
com.badlogic.gdx.scenes.scene2d.Actor child,
int index,
int numChildren,
CircularGroup group)
com.badlogic.gdx.math.Vector2anchorOffset(com.badlogic.gdx.math.Vector2 anchorOffset,
com.badlogic.gdx.scenes.scene2d.Actor child,
int index,
int numChildren,
CircularGroup group)
Parameters:
anchorOffset - the default anchor offset ([0:0])
Returns:
the anchor offset of the child, relative to the group center
localAnchor
com.badlogic.gdx.math.Vector2localAnchor(com.badlogic.gdx.math.Vector2 localAnchor,
com.badlogic.gdx.scenes.scene2d.Actor child,
int index,
int numChildren,
CircularGroup group)
Parameters:
localAnchor - the default local anchorOffset ([childWidth:childHeight / 2])
Returns:
the local anchorOffset of the child, relative to the child itself