Struct CoreText.CTLineRef
public ref struct CoreText.CTLineRef : IDisposable
- Implements
- Inherited Members
Constructors
CTLineRef(nint)
public CTLineRef(nint self)
Parameters
selfnint
Fields
Self
public readonly nint Self
Field Value
Methods
Create(nint)
public static CoreText.CTLineRef Create(nint attributedString)
Parameters
attributedStringnint
Returns
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
optionsCoreText.CTLineRef.BoundsOptions
Returns
GetVerticalMetrics()
public (NFloat Ascent, NFloat Descent, NFloat Leading) GetVerticalMetrics()
Returns
GetWidth()
public NFloat GetWidth()
Returns
Operators
implicit operator nint(CTLineRef)
public static implicit operator nint(CoreText.CTLineRef r)