Mac Guides | Samples

MonoMac.CoreText.CTLine Class

See Also: CTLine

Syntax

[MonoMac.ObjCRuntime.Since(3, 2)]
public class CTLine : INativeObject, IDisposable

Related content

Requirements

Namespace: MonoMac.CoreText
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0

The members of MonoMac.CoreText.CTLine are listed below.

See Also: Object

Public Constructors

Public Properties

[read-only]
GlyphCountInt32.
[read-only]
HandleIntPtr. Handle (pointer) to the unmanaged object representation.
[read-only]
StringRangeNSRange.
[read-only]
TrailingWhitespaceWidthDouble.

Public Methods

Dispose()
Releases the resourced used by the CTLine object.
Draw(CGContext)
Finalize()
Finalizer for the CTLine object
GetBounds(CTLineBoundsOptions) : RectangleF
Returns the bounds of the line as a rectangle, based on the specified CoreText.CTLineBoundsOptions.
GetGlyphRuns() : CTRun[]
GetImageBounds(CGContext) : RectangleF
GetJustifiedLine(Single, Double) : CTLine
GetOffsetForStringIndex(Int32) : Single
GetOffsetForStringIndex(Int32, out Single) : Single
GetPenOffsetForFlush(Single, Double) : Double
GetStringIndexForPosition(PointF) : Int32
GetTruncatedLine(Double, CTLineTruncation, CTLine) : CTLine
GetTypographicBounds() : Double
Returns the typorgraphic width of the line.
GetTypographicBounds(out Single, out Single, out Single) : Double
Returns the typographic information about the line.

Protected Methods

Dispose(Boolean)
Releases the resourced used by the CTLine object.