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 Microsoft.Maui.Controls UI.
public value class Region : IEquatable<Microsoft::Maui::Controls::Region>
public struct Region : IEquatable<Microsoft.Maui.Controls.Region>
type Region = struct
Public Structure Region
Implements IEquatable(Of Region)
- Inheritance
-
Region
- Implements
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. |
Equals(Object) | |
Equals(Region) | |
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. |
FromRectangles(IEnumerable<Rect>) | |
GetHashCode() | |
Inflate(Double) |
Returns a region that is expanded by or has all of its subregions expanded by the specified |
Inflate(Double, Double, Double, Double) |
Returns a region that is expanded by or has all of its subregions expanded by the specified values. |
Operators
Equality(Region, Region) | |
Inequality(Region, Region) |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈