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.