Editar

Compartir a través de


SKPath.Op Method

Definition

Overloads

Op(SKPath, SKPathOp)

Compute the result of a logical operation on two paths.

Op(SKPath, SKPathOp, SKPath)

Compute the result of a logical operation on two paths.

Op(SKPath, SKPathOp)

Compute the result of a logical operation on two paths.

public SkiaSharp.SKPath Op (SkiaSharp.SKPath other, SkiaSharp.SKPathOp op);

Parameters

other
SKPath

The second operand.

op
SKPathOp

The logical operator.

Returns

Returns the resulting path if the operation was successful, otherwise null.

Applies to

Op(SKPath, SKPathOp, SKPath)

Compute the result of a logical operation on two paths.

public bool Op (SkiaSharp.SKPath other, SkiaSharp.SKPathOp op, SkiaSharp.SKPath result);

Parameters

other
SKPath

The second operand.

op
SKPathOp

The logical operator.

result
SKPath

The path that will be used to set the result to. The current path will be Reset().

Returns

Returns true if the operation was successful, otherwise false.

Applies to