Struct DWriteShapingGlyphProperties
Shaping output properties per output glyph.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.DWrite
Assembly: JeremyAnsel.DirectX.DWrite.dll
Syntax
public struct DWriteShapingGlyphProperties : IEquatable<DWriteShapingGlyphProperties>
Properties
| Edit this page View SourceIsClusterStart
Gets or sets a value indicating whether the glyph is the first of a cluster.
Declaration
public bool IsClusterStart { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsDiacritic
Gets or sets a value indicating whether the glyph is a diacritic.
Declaration
public bool IsDiacritic { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsZeroWidthSpace
Gets or sets a value indicating whether the glyph has no width, blank, ZWJ, ZWNJ etc.
Declaration
public bool IsZeroWidthSpace { get; set; }
Property Value
Type | Description |
---|---|
bool |
Justification
Gets or sets the justification class, whether to use spacing, kashidas, or
another method. This exists for backwards compatibility
with Uniscribe's SCRIPT_JUSTIFY
enumeration.
Declaration
public ushort Justification { get; set; }
Property Value
Type | Description |
---|---|
ushort |
Methods
| Edit this page View SourceEquals(DWriteShapingGlyphProperties)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(DWriteShapingGlyphProperties other)
Parameters
Type | Name | Description |
---|---|---|
DWriteShapingGlyphProperties | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
Operators
| Edit this page View Sourceoperator ==(DWriteShapingGlyphProperties, DWriteShapingGlyphProperties)
Compares two DWriteShapingGlyphProperties objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(DWriteShapingGlyphProperties left, DWriteShapingGlyphProperties right)
Parameters
Type | Name | Description |
---|---|---|
DWriteShapingGlyphProperties | left | The left DWriteShapingGlyphProperties to compare. |
DWriteShapingGlyphProperties | right | The right DWriteShapingGlyphProperties to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(DWriteShapingGlyphProperties, DWriteShapingGlyphProperties)
Compares two DWriteShapingGlyphProperties objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(DWriteShapingGlyphProperties left, DWriteShapingGlyphProperties right)
Parameters
Type | Name | Description |
---|---|---|
DWriteShapingGlyphProperties | left | The left DWriteShapingGlyphProperties to compare. |
DWriteShapingGlyphProperties | right | The right DWriteShapingGlyphProperties to compare. |
Returns
Type | Description |
---|---|
bool |