SKRegion.Op 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
Op(SKPath, SKRegionOperation) |
Set this region to the result of applying the operation to this region and the specified path. |
Op(SKRectI, SKRegionOperation) |
Set this region to the result of applying the operation to this region and the specified rectangle. |
Op(SKRegion, SKRegionOperation) |
Set this region to the result of applying the operation to this region and the specified region. |
Op(Int32, Int32, Int32, Int32, SKRegionOperation) |
Set this region to the result of applying the operation to this region and the specified rectangle. |
Op(SKPath, SKRegionOperation)
Set this region to the result of applying the operation to this region and the specified path.
public bool Op (SkiaSharp.SKPath path, SkiaSharp.SKRegionOperation op);
Parameters
- path
- SKPath
The path to apply the operator on.
The operator to apply.
Returns
Returns true if the resulting region is non-empty.
Applies to
Op(SKRectI, SKRegionOperation)
Set this region to the result of applying the operation to this region and the specified rectangle.
public bool Op (SkiaSharp.SKRectI rect, SkiaSharp.SKRegionOperation op);
Parameters
- rect
- SKRectI
The rectangle to apply the operator on.
The operator to apply.
Returns
Returns true if the resulting region is non-empty.
Applies to
Op(SKRegion, SKRegionOperation)
Set this region to the result of applying the operation to this region and the specified region.
public bool Op (SkiaSharp.SKRegion region, SkiaSharp.SKRegionOperation op);
Parameters
- region
- SKRegion
The region to apply the operator on.
The operator to apply.
Returns
Returns true if the resulting region is non-empty.
Applies to
Op(Int32, Int32, Int32, Int32, SKRegionOperation)
Set this region to the result of applying the operation to this region and the specified rectangle.
public bool Op (int left, int top, int right, int bottom, SkiaSharp.SKRegionOperation op);
Parameters
- left
- Int32
The x-coordinate to apply the operator on.
- top
- Int32
The y-coordinate to apply the operator on.
- right
- Int32
The right-coordinate to apply the operator on.
- bottom
- Int32
The bottom-coordinate to apply the operator on.
The operator to apply.
Returns
Returns true if the resulting region is non-empty.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈