[]
Gets the minimal RectangleF that contains all points of the Contour relative to the specified LayoutView.
public RectangleF GetBounds(LayoutView targetView)
| Type | Name | Description |
|---|---|---|
| LayoutView | targetView | The destination LayoutView or null to reference the LayoutHost. |
| Type | Description |
|---|---|
| RectangleF |
Gets the minimum and maximum positions of the Contour relative to the specified LayoutView.
public void GetBounds(LayoutView targetView, out float minX, out float maxX, out float minY, out float maxY)
| Type | Name | Description |
|---|---|---|
| LayoutView | targetView | The destination LayoutView or null to reference the LayoutHost. |
| float | minX | The minimum X coordinate of the Contour in the target view's coordinates. |
| float | maxX | The maximum X coordinate of the Contour in the target view's coordinates. |
| float | minY | The minimum Y coordinate of the Contour in the target view's coordinates. |
| float | maxY | The maximum Y coordinate of the Contour in the target view's coordinates. |
Gets the minimal RectangleF that contains all points of the Contour relative to the specified LayoutRect.
public RectangleF GetBounds(LayoutRect targetRect)
| Type | Name | Description |
|---|---|---|
| LayoutRect | targetRect | The target LayoutRect. |
| Type | Description |
|---|---|
| RectangleF |
Gets the minimum and maximum positions of the Contour relative to the specified LayoutRect.
public void GetBounds(LayoutRect targetRect, out float minX, out float maxX, out float minY, out float maxY)
| Type | Name | Description |
|---|---|---|
| LayoutRect | targetRect | The target LayoutRect. |
| float | minX | The minimum X offset of the Contour relative to |
| float | maxX | The maximum X offset of the Contour relative to |
| float | minY | The minimum Y offset of the Contour relative to |
| float | maxY | The maximum Y offset of the Contour relative to |