編集

次の方法で共有


SKRectI.Floor Method

Definition

Overloads

Floor(SKRect)

Converts the specified SKRect structure to a SKRectI structure by rounding the SKRect values to the closest lower integer values.

Floor(SKRect, Boolean)

Converts the specified SKRect structure to a SKRectI structure by rounding the SKRect values to the closest lower integer values.

Floor(SKRect)

Converts the specified SKRect structure to a SKRectI structure by rounding the SKRect values to the closest lower integer values.

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

Parameters

value
SKRect

The SKRect structure to be converted.

Returns

Returns a SKRectI.

Applies to

Floor(SKRect, Boolean)

Converts the specified SKRect structure to a SKRectI structure by rounding the SKRect values to the closest lower integer values.

public static SkiaSharp.SKRectI Floor (SkiaSharp.SKRect value, bool inwards);

Parameters

value
SKRect

The SKRect structure to be converted.

inwards
Boolean

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

Returns

Returns a SKRectI.

Applies to