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 Xamarin.Forms.Region FromLines (double[] lineHeights, double maxWidth, double startX, double endX, double startY);
static member FromLines : double[] * double * double * double * double -> Xamarin.Forms.Region
Parameters
- lineHeights
- System.Double[]
The list of line heights to use.
- maxWidth
- System.Double
The width of a line that spans the rectangle that encloses the region.
- startX
- System.Double
The starting X value on the first line, equivalent to an indent.
- endX
- System.Double
The width of the last line.
- startY
- System.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.