Düzenle

Aracılığıyla paylaş


CoreText Namespace

The CoreText namespace provides low-level classes for laying out and rendering text.

Classes

CTFont

Represents a CoreText Font.

CTFontCollection

Font collections are the standard mechanism used to enumerate fonts descriptors.

CTFontCollectionOptionKey

A class whose static property can be used as a key for the NSDictionary used by CTFontCollectionOptions.

CTFontCollectionOptions

Options that can be used for creating CTFontCollection objects.

CTFontDescriptor

Font Descriptors contain a description of font features that can identify a font.

CTFontDescriptorAttributeKey

A valid key for use with CTFontDescriptor attribute properties.

CTFontDescriptorAttributes

Strongly typed class that contains font attributes.

CTFontFeatureAllTypographicFeatures

A CTFontFeatureSelectors that represents all type features.

CTFontFeatureAlternateKana

A CTFontFeatureSelectors for alternate kana.

CTFontFeatureAnnotation

A CTFontFeatureSelectors that describe feature annotations.

CTFontFeatureCaseSensitiveLayout

A CTFontFeatureSelectors that describe features related to case-sensitive spacing or layout.

CTFontFeatureCharacterAlternatives

A CTFontFeatureSelectors that describe a feature allowing character alternatives.

CTFontFeatureCharacterShape

A CTFontFeatureSelectors that describe features related to character shapes such as Hojo Kanji forms, JIS 78 Forms, etc..

CTFontFeatureCJKRomanSpacing

A CTFontFeatureSelectors that describe features related to Chines, Japanese, and Korean typography.

CTFontFeatureCJKSymbolAlternatives

A CTFontFeatureSelectors that describe features related to Chines, Japanese, and Korean typography.

CTFontFeatureCJKVerticalRomanPlacement

A CTFontFeatureSelectors that describe features related to Chines, Japanese, and Korean typography.

CTFontFeatureContextualAlternates

A CTFontFeatureSelectors that describe features related to swash alternatives.

CTFontFeatureCursiveConnection

A CTFontFeatureSelectors that describe features related to the connection of cursive letters.

CTFontFeatureDesignComplexity

A CTFontFeatureSelectors that describe features related to design-level complexity.

CTFontFeatureDiacritics

A CTFontFeatureSelectors that describe features related to the visibility and composition of diacritical marks.

CTFontFeatureFractions

A CTFontFeatureSelectors that describe features related to how fractions should be displayed.

CTFontFeatureIdeographicAlternatives

A CTFontFeatureSelectors that describe features related to ideographic alternatives.

CTFontFeatureIdeographicSpacing

A CTFontFeatureSelectors that describe features related to ideographic spacing.

CTFontFeatureItalicCJKRoman

A CTFontFeatureSelectors that describe features related to Chines, Japanese, and Korean italicized text.

CTFontFeatureKanaSpacing

A CTFontFeatureSelectors that describe features related to Kana spacing.

CTFontFeatureKey

A class whose static properties can be used as keys for the NSDictionary used by CTFontFeatures.

CTFontFeatureLetterCase

A CTFontFeatureSelectors that describe features related to capitalization options such as initial capitalization.

CTFontFeatureLigatures

A CTFontFeatureSelectors that describe whether ligature features are on or off.

CTFontFeatureLinguisticRearrangementConnection

A CTFontFeatureSelectors that describe whether linguistic rearrangement is on or off.

CTFontFeatureLowerCase

A CTFontFeatureSelectors that describe features related to how lower-case letters are rendered.

CTFontFeatureMathematicalExtras

A CTFontFeatureSelectors that describe features related to mathematical formulae.

CTFontFeatureNumberCase

A CTFontFeatureSelectors that describe features related to the display of capital numbers.

CTFontFeatureNumberSpacing

A CTFontFeatureSelectors that describe features related to spacing of numbers.

CTFontFeatureOrnamentSets

A CTFontFeatureSelectors that describe features related to case-sensitive spacing or layout.

CTFontFeatureOverlappingCharacters

A CTFontFeatureSelectors that allow or disallow characters to overlap.

CTFontFeatureRubyKana

A CTFontFeatureSelectors that describe features related to applications of rubies to Kana.

CTFontFeatures

Encapsulates the features of a CTFont.

CTFontFeatureSelectorKey

A class whose static properties can be used as keys for the NSDictionary used by CTFontFeatureSelectors.

CTFontFeatureSelectors

Encapsulates a font feature-dictionary.

CTFontFeatureSettings

The feature settings of a CTFont or CTFontDescriptorAttributes.

CTFontFeatureSmartSwash

A CTFontFeatureSelectors that describe features related to smart swashes.

CTFontFeatureStyleOptions

A CTFontFeatureSelectors that describe features related to font features such as illuminated capitals and engraved text.

CTFontFeatureStylisticAlternatives

A CTFontFeatureSelectors that describe features related to alternative styles.

CTFontFeatureTextSpacing

A CTFontFeatureSelectors that describe features related to text spacing.

CTFontFeatureTransliteration

A CTFontFeatureSelectors that describe features related to transliteration.

CTFontFeatureTypographicExtras

A CTFontFeatureSelectors that describe features related to typographic extras such as interrobangs, conversion of dashes to em- or en-dashes, etc..

CTFontFeatureUnicodeDecomposition

A CTFontFeatureSelectors that describe features related to how Unicode is decomposed.

CTFontFeatureUpperCase

A CTFontFeatureSelectors that describe features related to how upper-case letters should be displayed.

CTFontFeatureVerticalPosition

A CTFontFeatureSelectors that describe features related to vertical positioning.

CTFontFeatureVerticalSubstitutionConnection

A CTFontFeatureSelectors that describe features related to vertical substitution.

CTFontManager

Manages the central CoreText Font System.

CTFontManager.Notifications

Observer for receiving notifications when fonts are added to the registry.

CTFontManagerErrorExtensions

Extension methods for the CoreText.CTFontManagerError enumeration.

CTFontTraitKey

A class whose static properties can be used as keys for the NSDictionary used by CTFontTraits.

CTFontTraits

The standard traits for a CTFontDescriptor.

CTFontVariation

Encapsulates a font-variation dictionary.

CTFontVariationAxes

Encapsulates a font-variation-axis dictionary.

CTFontVariationAxisKey

A class whose static properties can be used as keys for the NSDictionary used by CTFontVariationAxes.

CTFrame

A rectangular area containing lines of text.

CTFrameAttributeKey

A class whose static properties can be used as keys for the NSDictionary used by CTFrameAttributes.

CTFrameAttributes

Encapsulates the attributes used in the creation of a CTFrame.

CTFramesetter

Lays out type in a rectangular frame.

CTGlyphInfo

Provides the ability to override the Unicode-to-glyph mapping for a CTFont.

CTLine

A line of text, comprising an array of CTRuns.

CTParagraphStyle

Describes the style of paragraphs.

CTParagraphStyleSettings

A class that can be used to override elements of a CTParagraphStyle.

CTRun

A glyph run. That is, a series of consecutive glyphs with the same attributes and direction.

CTRunDelegate

A delegate object that can be used to handle CTRunDelegateOperations on a CTRun.

CTRunDelegateOperations

A class that represents the operations possible on a CTRunDelegate.

CTStringAttributeKey

A class whose static properties can be used as keys for the NSDictionary used by CTStringAttributes.

CTStringAttributes

Specifies the attributes of a CTRun.

CTTextTab

Represents a tab in a CTParagraphStyle.

CTTextTabOptionKey

A class whose static properties can be used as keys for the NSDictionary used by CTTextTabOptions.

CTTextTabOptions

Options relating to a CTTextTab.

CTTypesetter

A class that performs line layout.

CTTypesetterOptionKey

A class whose static properties can be used as keys for the NSDictionary used by CTTypesetterOptions.

CTTypesetterOptions

Options applicable to a T:CoreText:CTTypesetter object.

Enums

CTBaselineClass

The kind of baselines supported when typesetting text.

CTBaselineFont

An enumeration whose values specify the whether the baseline font is from the original font or a reference font.

CTCharacterCollection

A class whose static fields specify character collections.

CTFontDescriptorMatchingState

An enumeration whose values can be used as parameters for the MatchFontDescriptors(CTFontDescriptor[], NSSet, Func<CTFontDescriptorMatchingState,IntPtr,Boolean>) method.

CTFontFeatureAllTypographicFeatures.Selector

An enumeration whose values can be used as arguments for WithFeature(CTFontFeatureVerticalSubstitutionConnection+Selector).

CTFontFeatureAlternateKana.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureAnnotation.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureCaseSensitiveLayout.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureCharacterAlternatives.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureCharacterShape.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureCJKRomanSpacing.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureCJKSymbolAlternatives.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureCJKVerticalRomanPlacement.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureContextualAlternates.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureCursiveConnection.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureDesignComplexity.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureDiacritics.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureFractions.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureIdeographicAlternatives.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureIdeographicSpacing.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureItalicCJKRoman.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureKanaSpacing.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureLetterCase.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureLigatures.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureLinguisticRearrangementConnection.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureLowerCase.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureMathematicalExtras.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureNumberCase.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureNumberSpacing.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureOrnamentSets.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureOverlappingCharacters.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureRubyKana.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureSmartSwash.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureStyleOptions.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureStylisticAlternatives.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureTextSpacing.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureTransliteration.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureTypographicExtras.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureUnicodeDecomposition.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureUpperCase.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureVerticalPosition.Selector

An enumeration whose values are returned by Feature.

CTFontFeatureVerticalSubstitutionConnection.Selector

An enumeration whose values are returned by Feature.

CTFontFormat

Font format.

CTFontManagerAutoActivation

An enumeration whose values specify values for auto-activation of fonts.

CTFontManagerError

An enumeration whose values specify errors relating to operations on CTFontManager.

CTFontManagerScope

An enumeration whose values specify the scope for font registration.

CTFontNameKey

An enumeration whose values specify constants providing access to names associated with a CTFont.

CTFontOptions

Options used when creating new instances of the CTFont class.

CTFontOrientation

An enumeration whose values specify the orientation of a CTFont.

CTFontPriority

An enumeration whose values specify the priority of a CTFont.

CTFontStylisticClass

An enumeration whose values specify the serif style of a CTFont.

CTFontSymbolicTraits

Describes the style of a font.

CTFontTable

An enumeration whose values represent tags for accessing font-table data.

CTFontTableOptions

An enumeration whose values can be used as flags for options relating to font tables.

CTFontUIFontType

An enumeration whose values specify the intended use of a font. Used with C:CoreText.CTFont(CoreTextCTFontUIType, System.Single, System.String)

CTFramePathFillRule

An enumeration whose values specify the fill rule used by a CTFrame.

CTFrameProgression

An enumeration whose values can be used as flags with the Progression property.

CTLigatureFormation

An enumeration whose values specify the importance of ligatures in a T:CoreText.CTString.

CTLineBoundsOptions

The kind of bounds computation that we want to perform on a CTLine.

CTLineBreakMode

An enumeration whose values specify line-breaking options.

CTLineTruncation

An enumeration whose values specify valid options for line truncation.

CTRunStatus

An enumeration whose values describe the Status of a CTRun.

CTSuperscriptStyle

An enumeration whose values describe the style of super- and sub- -scripts.

CTTextAlignment

An enumeration whose values specify options for text alignment.

CTUnderlineStyle

Specifies the style of an underline ornament.

CTUnderlineStyleModifiers

An enumeration whose values specify options for CTUnderlineStyles.

CTWritingDirection

An enumeration whose values can be used as flags indicating writing directions.

FontFeatureGroup

An enumeration whose values specify various types of font features.

Delegates

CTLine.CaretEdgeEnumerator

Remarks

Provides the low-level framework for high quality typography on iOS and OSX.

This framework is indirectly used by higher level frameworks like N:UIKit, AppKit, WebKit (UIWebView and N:CoreAnimation. Developers can resort to CoreText when they need finer control over text layout than the one provided by the high level frameworks.