AnnotationTextSettings

ModelDataReferences
[TypeName("Text Settings")] [TypeDescription("Rhino annotation text settings")] public sealed class AnnotationTextSettings : ModelData
Represents model text settings.

Constructors

AnnotationTextSettings

#
public AnnotationTextSettings()

AnnotationTextSettings

#
public AnnotationTextSettings(Attributes attributes)
attributes (AnnotationTextSettings.Attributes)

AnnotationTextSettings

#
public AnnotationTextSettings(DimensionStyle dimStyle)
dimStyle (DimensionStyle)

Fields

Serial

protected internal int Serial
inherited fromModelData

Properties

Attribs

#
protected AnnotationTextSettings.Attributes Attribs { get; set; }

DefaultAttributes

#
protected override ModelData.Attributes DefaultAttributes { get; }

DisplayName

[Browsable(false)] public string DisplayName { get; }
inherited fromModelData
DisplayName

DrawForward

#
public bool? DrawForward { get; }

DrawTextMask

#
public bool? DrawTextMask { get; }

FitText

#
public DimensionStyle.TextFit? FitText { get; }

Font

#
public Font Font { get; }

IsValid

[Browsable(false)] public virtual bool IsValid { get; }
inherited fromModelData
IsValid

IsValidWhyNot

protected virtual string IsValidWhyNot { get; }
inherited fromModelData
IsValidWhyNot

LineSpaceScale

#
public double? LineSpaceScale { get; }

MaskColor

#
public Color? MaskColor { get; }

MaskColorSource

#
public DimensionStyle.MaskType? MaskColorSource { get; }

MaskFrame

#
public DimensionStyle.MaskFrame? MaskFrame { get; }

MaskOffset

#
public double? MaskOffset { get; }

TextGap

#
public double? TextGap { get; }

TextHeight

#
public double? TextHeight { get; }

TextHorizontalAlignment

#
public TextHorizontalAlignment? TextHorizontalAlignment { get; }

TextOrientation

#
public TextOrientation? TextOrientation { get; }

TextVerticalAlignment

#
public TextVerticalAlignment? TextVerticalAlignment { get; }

TypeDescription

protected string TypeDescription { get; }
inherited fromModelData
TypeDescription

TypeName

[Browsable(false)] public virtual string TypeName { get; }
inherited fromModelData
TypeName

UseKerning

#
public bool? UseKerning { get; }

Methods

CastTo<T>

public virtual bool CastTo<T>(ref T target)
inherited fromModelData
target (ref T)
CastTo

Equals

public bool Equals(ModelData other)
inherited fromModelData
other (ModelData)

Equals

public override bool Equals(object other)
inherited fromModelData
other (object)
Object.Equals

GetDimensionStyle

#
public void GetDimensionStyle(ref DimensionStyle baseDimensionStyle = null)
baseDimensionStyle (ref DimensionStyle = null)

GetHashCode

public override int GetHashCode()
inherited fromModelData

Read

protected virtual bool Read(GH_IReader reader)
inherited fromModelData
reader (GH_IReader)
Read

ToAttributes

#
public AnnotationTextSettings.Attributes ToAttributes()

ToDetails

public string ToDetails()
inherited fromModelData

TooltipString

public virtual string TooltipString()
inherited fromModelData
ToString

ToString

public override string ToString()
inherited fromModelData
Object.ToString

Write

protected virtual bool Write(GH_IWriter writer)
inherited fromModelData
writer (GH_IWriter)
Write

Convertors