Class Glyphs
Provides a visual representation of letters, characters, or symbols, in a specific font and style.
Inherited Members
Namespace: System.Windows.Documents
Assembly: OpenSilver.dll
Syntax
[NotImplemented]
public sealed class Glyphs : FrameworkElement, IFrameworkElement, IUIElement, IDependencyObject
Constructors
| Improve this Doc View SourceGlyphs()
Initializes a new instance of the Glyphs class.
Declaration
public Glyphs()
Fields
| Improve this Doc View SourceFillProperty
Identifies the Fill dependency property.
Declaration
public static readonly DependencyProperty FillProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
FontRenderingEmSizeProperty
Identifies the FontRenderingEmSize dependency property.
Declaration
public static readonly DependencyProperty FontRenderingEmSizeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
FontUriProperty
Identifies the FontUri dependency property.
Declaration
public static readonly DependencyProperty FontUriProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IndicesProperty
Identifies the Indices dependency property.
Declaration
public static readonly DependencyProperty IndicesProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
OriginXProperty
Identifies the OriginX dependency property.
Declaration
public static readonly DependencyProperty OriginXProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
OriginYProperty
Identifies the OriginY dependency property.
Declaration
public static readonly DependencyProperty OriginYProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
StyleSimulationsProperty
Identifies the StyleSimulations dependency property.
Declaration
public static readonly DependencyProperty StyleSimulationsProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
UnicodeStringProperty
Identifies the UnicodeString dependency property.
Declaration
public static readonly DependencyProperty UnicodeStringProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceFill
Gets or sets the Brush that is used to render the glyphs.
Declaration
public Brush Fill { get; set; }
Property Value
Type | Description |
---|---|
Brush | The brush to use to render the glyphs. The default is null, which is evaluated as Transparent for rendering. |
FontRenderingEmSize
Gets or sets the font size used for rendering the glyphs.
Declaration
public double FontRenderingEmSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The font size used for rendering the glyphs. The default is 0. |
FontSource
Gets or sets the font source that is applied to the Glyphs for rendering content.
Declaration
public FontSource FontSource { get; set; }
Property Value
Type | Description |
---|---|
FontSource | The font source used to render content in the Glyphs. The default is a null reference. |
FontUri
Gets or sets the location of the font used for rendering the glyphs.
Declaration
public Uri FontUri { get; set; }
Property Value
Type | Description |
---|---|
System.Uri | The URI source of the font. The default is null. |
Indices
Gets or sets the glyph indices for the glyphs.
Declaration
public string Indices { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that defines glyph indices as well as other glyph specifics in a string mini-language. The default is null. |
OriginX
Gets or sets the x origin for the glyphs.
Declaration
public double OriginX { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The x origin of the Glyphs, in pixels. The default is 0. |
OriginY
Gets or sets the y origin for the glyphs.
Declaration
public double OriginY { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
StyleSimulations
Gets or sets the style simulations applied to the glyphs.
Declaration
public StyleSimulations StyleSimulations { get; set; }
Property Value
Type | Description |
---|---|
StyleSimulations | One of the enumeration values that specifies the style simulations to apply to the glyphs. The default is None. |
UnicodeString
Gets or sets the Unicode string to render in glyphs.
Declaration
public string UnicodeString { get; set; }
Property Value
Type | Description |
---|---|
System.String | A Unicode string with XAML-compatible encoding. The default is an empty string. |