Package com.fs.starfarer.api.ui
Interface PositionAPI
public interface PositionAPI
-
Method Summary
Modifier and TypeMethodDescriptionaboveLeft
(UIComponentAPI sibling, float yPad) aboveMid
(UIComponentAPI sibling, float yPad) aboveRight
(UIComponentAPI sibling, float yPad) belowLeft
(UIComponentAPI sibling, float yPad) belowMid
(UIComponentAPI sibling, float yPad) belowRight
(UIComponentAPI sibling, float yPad) boolean
containsEvent
(InputEventAPI event) float
float
float
float
getWidth()
float
getX()
float
getY()
inBL
(float xPad, float yPad) inBMid
(float yPad) inBR
(float xPad, float yPad) inLMid
(float xPad) inMid()
inRMid
(float xPad) inTL
(float xPad, float yPad) inTMid
(float yPad) inTR
(float xPad, float yPad) boolean
leftOfBottom
(UIComponentAPI sibling, float xPad) leftOfMid
(UIComponentAPI sibling, float xPad) leftOfTop
(UIComponentAPI sibling, float xPad) rightOfBottom
(UIComponentAPI sibling, float xPad) rightOfMid
(UIComponentAPI sibling, float xPad) rightOfTop
(UIComponentAPI sibling, float xPad) setLocation
(float x, float y) setSize
(float width, float height) void
setSuspendRecompute
(boolean suspendRecompute) setXAlignOffset
(float xAlignOffset) setYAlignOffset
(float yAlignOffset)
-
Method Details
-
getX
float getX() -
getY
float getY() -
getWidth
float getWidth() -
getHeight
float getHeight() -
getCenterX
float getCenterX() -
getCenterY
float getCenterY() -
setLocation
-
setSize
-
containsEvent
-
setXAlignOffset
-
setYAlignOffset
-
inTL
-
inTMid
-
inTR
-
inRMid
-
inMid
PositionAPI inMid() -
inBR
-
inBMid
-
inBL
-
inLMid
-
leftOfTop
-
leftOfMid
-
leftOfBottom
-
rightOfTop
-
rightOfMid
-
rightOfBottom
-
aboveLeft
-
aboveMid
-
aboveRight
-
belowLeft
-
belowMid
-
belowRight
-
setSuspendRecompute
void setSuspendRecompute(boolean suspendRecompute) -
isSuspendRecompute
boolean isSuspendRecompute()
-