Class AutoScaledTextItem
Inheritance
System.Object
AutoScaledTextItem
Implements
System.ComponentModel.INotifyPropertyChanged
System.ICloneable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class AutoScaledTextItem : BaseTextItem, ICloneable
Constructors
AutoScaledTextItem(PlainTextItem, RectangleF)
Declaration
public AutoScaledTextItem(PlainTextItem plainText, RectangleF rectangle)
Parameters
Type |
Name |
Description |
PlainTextItem |
plainText |
|
System.Drawing.RectangleF |
rectangle |
|
AutoScaledTextItem(String, RectangleF, String, Single)
Declaration
public AutoScaledTextItem(string text = "", RectangleF rectangle = null, string fontPostScriptName = null, float fontSize = 10F)
Parameters
Type |
Name |
Description |
System.String |
text |
|
System.Drawing.RectangleF |
rectangle |
|
System.String |
fontPostScriptName |
|
System.Single |
fontSize |
|
Properties
HorizontalScale
Declaration
public override float HorizontalScale { get; set; }
Property Value
Type |
Description |
System.Single |
|
Overrides
IsVertical
Declaration
public bool IsVertical { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
TextRectangle
Declaration
public RectangleF TextRectangle { get; set; }
Property Value
Type |
Description |
System.Drawing.RectangleF |
|
VerticalScale
Declaration
public override float VerticalScale { get; set; }
Property Value
Type |
Description |
System.Single |
|
Overrides
Methods
Accept(ItemVisitor)
Declaration
public override void Accept(ItemVisitor visitor)
Parameters
Overrides
Accept<T>(ItemVisitor<T>)
Declaration
public override T Accept<T>(ItemVisitor<T> visitor)
Parameters
Returns
Type Parameters
Overrides
Aurigma.DesignAtoms.Model.Items.RectangleItem.Accept<T>(Aurigma.DesignAtoms.Model.ItemVisitor<T>)
DeepClone<TItem>(TItem, Boolean)
Declaration
public override TItem DeepClone<TItem>(TItem clone = null, bool keepIds = false)
where TItem : ModelComponent
Parameters
Type |
Name |
Description |
TItem |
clone |
|
System.Boolean |
keepIds |
|
Returns
Type Parameters
Overrides
Aurigma.DesignAtoms.Model.Items.BaseTextItem.DeepClone<TItem>(TItem, System.Boolean)
Equals(AutoScaledTextItem)
Declaration
protected bool Equals(AutoScaledTextItem other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
System.ICloneable