Table of Contents

Struct CoreText.CTLineRef

Namespace
Xui.Runtime.IOS
Assembly
Xui.Runtime.IOS.dll
public ref struct CoreText.CTLineRef : IDisposable
Implements
Inherited Members

Constructors

CTLineRef(nint)

public CTLineRef(nint self)

Parameters

self nint

Fields

Self

public readonly nint Self

Field Value

nint

Methods

Create(nint)

public static CoreText.CTLineRef Create(nint attributedString)

Parameters

attributedString nint

Returns

CoreText.CTLineRef

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

GetBounds(BoundsOptions)

public CoreGraphics.CGRect GetBounds(CoreText.CTLineRef.BoundsOptions options = BoundsOptions.UseOpticalBounds)

Parameters

options CoreText.CTLineRef.BoundsOptions

Returns

CoreGraphics.CGRect

GetVerticalMetrics()

public (NFloat Ascent, NFloat Descent, NFloat Leading) GetVerticalMetrics()

Returns

(NFloat Ascent, NFloat Descent, NFloat Leading)

GetWidth()

public NFloat GetWidth()

Returns

NFloat

Operators

implicit operator nint(CTLineRef)

public static implicit operator nint(CoreText.CTLineRef r)

Parameters

r CoreText.CTLineRef

Returns

nint