मुख्य कंटेंट तक स्किप करें

Class: UIAnchor

This page documents the methods and fields available in the UIAnchor class.

Members

SignatureDescription
UIAnchor()Creates a new instance of UIAnchor.
getBottomAnchor()Returns the current bottom anchor.
getBottomOffset()Returns the current bottom offset.
getBottomTarget()Returns the current bottom target.
getLeftAnchor()Returns the current left anchor.
getLeftOffset()Returns the current left offset.
getLeftTarget()Returns the current left target.
getRightAnchor()Returns the current right anchor.
getRightOffset()Returns the current right offset.
getRightTarget()Returns the current right target.
getTopAnchor()Returns the current top anchor.
getTopOffset()Returns the current top offset.
getTopTarget()Returns the current top target.
isExpandH()Returns whether expand h is true.
isExpandW()Returns whether expand w is true.
setBottomAnchor(VerticalConstraintTarget)Sets or updates the bottom anchor.
setBottomOffset(int)Sets or updates the bottom offset.
setBottomTarget(SpatialObject)Sets or updates the bottom target.
setExpandH(boolean)Sets or updates the expand h.
setExpandW(boolean)Sets or updates the expand w.
setLeftAnchor(HorizontalConstraintTarget)Sets or updates the left anchor.
setLeftOffset(int)Sets or updates the left offset.
setLeftTarget(SpatialObject)Sets or updates the left target.
setRightAnchor(HorizontalConstraintTarget)Sets or updates the right anchor.
setRightOffset(int)Sets or updates the right offset.
setRightTarget(SpatialObject)Sets or updates the right target.
setTopAnchor(VerticalConstraintTarget)Sets or updates the top anchor.
setTopOffset(int)Sets or updates the top offset.
setTopTarget(SpatialObject)Sets or updates the top target.