[]
Deflates a LayoutRect relative to anchorRect
.
public void AnchorDeflate(LayoutRect anchorRect, float deflateAmount)
Public Sub AnchorDeflate(anchorRect As LayoutRect, deflateAmount As Single)
Type | Name | Description |
---|---|---|
LayoutRect | anchorRect | The referenced LayoutRect or null to reference the owner LayoutView. |
float | deflateAmount | The amount to deflate the bounds relative to |
Deflates a LayoutRect relative to anchorRect
.
public void AnchorDeflate(LayoutRect anchorRect, float deflateHorizontal, float deflateVertical)
Public Sub AnchorDeflate(anchorRect As LayoutRect, deflateHorizontal As Single, deflateVertical As Single)
Type | Name | Description |
---|---|---|
LayoutRect | anchorRect | The referenced LayoutRect or null to reference the owner LayoutView. |
float | deflateHorizontal | The amount to deflate the left and right bounds relative to |
float | deflateVertical | The amount to deflate the top and bottom bounds relative to |
Deflates a LayoutRect relative to anchorRect
.
public void AnchorDeflate(LayoutRect anchorRect, float deflateLeft, float deflateTop, float deflateRight, float deflateBottom)
Public Sub AnchorDeflate(anchorRect As LayoutRect, deflateLeft As Single, deflateTop As Single, deflateRight As Single, deflateBottom As Single)
Type | Name | Description |
---|---|---|
LayoutRect | anchorRect | The referenced LayoutRect or null to reference the owner LayoutView. |
float | deflateLeft | The amount to deflate the left bound relative to |
float | deflateTop | The amount to deflate the top bound relative to |
float | deflateRight | The amount to deflate the left and right bounds relative to |
float | deflateBottom | The amount to deflate the top and bottom bounds relative to |