Region.FromLines(Double[], Double, Double, Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates and returns a region that detects points inside a collection of rectangles created from the lines that are specified by the provided data.
public:
static Microsoft::Maui::Controls::Region FromLines(cli::array <double> ^ lineHeights, double maxWidth, double startX, double endX, double startY);
public static Microsoft.Maui.Controls.Region FromLines (double[] lineHeights, double maxWidth, double startX, double endX, double startY);
static member FromLines : double[] * double * double * double * double -> Microsoft.Maui.Controls.Region
Public Shared Function FromLines (lineHeights As Double(), maxWidth As Double, startX As Double, endX As Double, startY As Double) As Region
Parameters
- lineHeights
- Double[]
The list of line heights to use.
- maxWidth
- Double
The width of a line that spans the rectangle that encloses the region.
- startX
- Double
The starting X value on the first line, equivalent to an indent.
- endX
- Double
The width of the last line.
- startY
- Double
The top of the region.
Returns
A region that detects points inside a collection of rectangles created from the lines that are specified by the provided data.