SKRectI.Contains 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.
Overloads
Contains(SKPointI) |
Determines whether the specified point is inside this rectangle. |
Contains(SKRectI) |
Determines whether the specified rectangle is inside this rectangle. |
Contains(Int32, Int32) |
Determines whether the specified coordinates are inside this rectangle. |
Contains(SKPointI)
Determines whether the specified point is inside this rectangle.
public bool Contains (SkiaSharp.SKPointI pt);
public readonly bool Contains (SkiaSharp.SKPointI pt);
Parameters
- pt
- SKPointI
The point to test.
Returns
Returns true if the point is inside this rectangle, otherwise false.
Applies to
Contains(SKRectI)
Determines whether the specified rectangle is inside this rectangle.
public bool Contains (SkiaSharp.SKRectI rect);
public readonly bool Contains (SkiaSharp.SKRectI rect);
Parameters
- rect
- SKRectI
The rectangle to test.
Returns
Returns true if the rectangle is inside this rectangle, otherwise false.
Applies to
Contains(Int32, Int32)
Determines whether the specified coordinates are inside this rectangle.
public bool Contains (int x, int y);
public readonly bool Contains (int x, int y);
Parameters
- x
- Int32
The x-coordinate.
- y
- Int32
The y-coordinate.
Returns
Returns true if the coordinates are inside this rectangle, otherwise false.
Applies to
SkiaSharp
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示