[]
Deflates a LayoutRect relative to anchorRect.
public void AnchorDeflate(LayoutRect anchorRect, float deflateAmount)
| 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)
| 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)
| 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 |