編輯

共用方式為


SKRectI.Ceiling Method

Definition

Overloads

Ceiling(SKRect)

Converts the specified SKRect structure to a SKRectI structure by rounding the SKRect values to the next higher integer values.

Ceiling(SKRect, Boolean)

Converts the specified SKRect structure to a SKRectI structure by rounding the SKRect values to the next higher integer values.

Ceiling(SKRect)

Converts the specified SKRect structure to a SKRectI structure by rounding the SKRect values to the next higher integer values.

public static SkiaSharp.SKRectI Ceiling (SkiaSharp.SKRect value);

Parameters

value
SKRect

The SKRect structure to be converted.

Returns

Returns a SKRectI.

Applies to

Ceiling(SKRect, Boolean)

Converts the specified SKRect structure to a SKRectI structure by rounding the SKRect values to the next higher integer values.

public static SkiaSharp.SKRectI Ceiling (SkiaSharp.SKRect value, bool outwards);

Parameters

value
SKRect

The SKRect structure to be converted.

outwards
Boolean

Whether or not to move in the direction of the side.

Returns

Returns a SKRectI.

Applies to