Edytuj

Udostępnij za pośrednictwem


CTLine.GetBounds(CTLineBoundsOptions) Method

Definition

Returns the bounds of the line as a rectangle, based on the specified CTLineBoundsOptions.

public CoreGraphics.CGRect GetBounds (CoreText.CTLineBoundsOptions options);
member this.GetBounds : CoreText.CTLineBoundsOptions -> CoreGraphics.CGRect

Parameters

options
CTLineBoundsOptions

Determines the kind of typographical information to return.

Returns

The bounding rectangle based on the parameter you pass on the options.

Remarks

This function can return different bounds based on the options passed.

Applies to