Region Struct
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.
Represents a visual region in a Xamarin.Forms UI.
public struct Region
type Region = struct
- Inheritance
-
System.ValueTypeRegion
Remarks
Currently, regions represent rectangles, or collections of rectangles, only.
Methods
Contains(Double, Double) |
Returns |
Contains(Point) |
Returns |
Deflate() |
Returns a region shrunk by the values in the most recent inflation, or does nothing if there has not been a previous inflation. |
FromLines(Double[], Double, Double, Double, Double) |
Creates and returns a region that detects points inside a collection of rectangles created from the lines that are specified by the provided data. |
Inflate(Double, Double, Double, Double) |
Returns a region that is expanded by or has all of its subregions expanded by the specified values. |
Inflate(Double) |
Returns a region that is expanded by or has all of its subregions expanded by the specified |