Struct DWriteScriptAnalysis
Association of text and its writing system script as well as some display attributes.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.DWrite
Assembly: JeremyAnsel.DirectX.DWrite.dll
Syntax
public struct DWriteScriptAnalysis : IEquatable<DWriteScriptAnalysis>
Constructors
| Edit this page View SourceDWriteScriptAnalysis(ushort, DWriteScriptShape)
Initializes a new instance of the DWriteScriptAnalysis struct.
Declaration
public DWriteScriptAnalysis(ushort script, DWriteScriptShape shapes)
Parameters
Type | Name | Description |
---|---|---|
ushort | script | Zero-based index representation of writing system script. |
DWriteScriptShape | shapes | Additional shaping requirement of text. |
Properties
| Edit this page View SourceScript
Gets or sets the zero-based index representation of writing system script.
Declaration
public ushort Script { get; set; }
Property Value
Type | Description |
---|---|
ushort |
Shapes
Gets or sets the additional shaping requirement of text.
Declaration
public DWriteScriptShape Shapes { get; set; }
Property Value
Type | Description |
---|---|
DWriteScriptShape |
Methods
| Edit this page View SourceEquals(DWriteScriptAnalysis)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(DWriteScriptAnalysis other)
Parameters
Type | Name | Description |
---|---|---|
DWriteScriptAnalysis | 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 ==(DWriteScriptAnalysis, DWriteScriptAnalysis)
Compares two DWriteScriptAnalysis objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(DWriteScriptAnalysis left, DWriteScriptAnalysis right)
Parameters
Type | Name | Description |
---|---|---|
DWriteScriptAnalysis | left | The left DWriteScriptAnalysis to compare. |
DWriteScriptAnalysis | right | The right DWriteScriptAnalysis to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(DWriteScriptAnalysis, DWriteScriptAnalysis)
Compares two DWriteScriptAnalysis objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(DWriteScriptAnalysis left, DWriteScriptAnalysis right)
Parameters
Type | Name | Description |
---|---|---|
DWriteScriptAnalysis | left | The left DWriteScriptAnalysis to compare. |
DWriteScriptAnalysis | right | The right DWriteScriptAnalysis to compare. |
Returns
Type | Description |
---|---|
bool |