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
SkiaSharp
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기