[]
Gets the minimal RectangleF that contains all points of the Contour relative to the specified LayoutView.
public RectangleF GetBounds(LayoutView targetView)
Public Function GetBounds(targetView As LayoutView) As RectangleF
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)
Public Sub GetBounds(targetView As LayoutView, ByRef minX As Single, ByRef maxX As Single, ByRef minY As Single, ByRef maxY As Single)
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)
Public Function GetBounds(targetRect As LayoutRect) As RectangleF
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)
Public Sub GetBounds(targetRect As LayoutRect, ByRef minX As Single, ByRef maxX As Single, ByRef minY As Single, ByRef maxY As Single)
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 |