Class TextBlock
Inheritance
System.Object
TextBlock
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Experior.Core.dll
Syntax
public class TextBlock : Static, IStatic, IRigidPart, IDisposable, IMeshObject, IText, ISceneObject
Constructors
TextBlock(Color, Single, String)
Declaration
public TextBlock(Color color, float textHeight, string text)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
color |
|
System.Single |
textHeight |
|
System.String |
text |
|
TextBlock(Color, Single, String, String)
Declaration
public TextBlock(Color color, float textHeight, string text, string fontFamilyName)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
color |
|
System.Single |
textHeight |
|
System.String |
text |
|
System.String |
fontFamilyName |
|
Properties
BackColor
Declaration
public Color BackColor { get; set; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
BackColorArgb
Declaration
public int BackColorArgb { get; }
Property Value
Type |
Description |
System.Int32 |
|
Color
Declaration
public override Color Color { get; set; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
Overrides
FontFamilyName
Declaration
public string FontFamilyName { get; set; }
Property Value
Type |
Description |
System.String |
|
Id
Declaration
[Browsable(false)]
public override uint Id { get; }
Property Value
Type |
Description |
System.UInt32 |
|
Overrides
InstalledFamilyFontNames
Declaration
public static IReadOnlyList<string> InstalledFamilyFontNames { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyList<System.String> |
|
SceneLayer
Declaration
public override string SceneLayer { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
Text
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
TextHeight
Declaration
public float TextHeight { get; set; }
Property Value
Type |
Description |
System.Single |
|
Visible
Declaration
public override bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Width
Declaration
public float Width { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
Dispose()
Declaration
public override void Dispose()
Overrides
Pick(Vector3, Vector3)
Declaration
public override PickResult Pick(Vector3 rayStart, Vector3 rayDirection)
Parameters
Type |
Name |
Description |
System.Numerics.Vector3 |
rayStart |
|
System.Numerics.Vector3 |
rayDirection |
|
Returns
Overrides
SetTransformDirty()
Declaration
protected override void SetTransformDirty()
Overrides
Implements
System.IDisposable