Class CurvedTextItemHandler
Inheritance
System.Object
CurvedTextItemHandler
Implements
System.ICloneable
System.IDisposable
Inherited Members
System.Object.ToString()
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: Aurigma.DesignAtoms.dll
Syntax
public class CurvedTextItemHandler : BaseTextItemHandler, ICloneable, IDisposable
Constructors
CurvedTextItemHandler(IConfiguration, IFileCache, ILogger, IFontService, IUnsupportedGlyphService, CurvedTextItem)
Declaration
public CurvedTextItemHandler(IConfiguration configuration, IFileCache fileCache, ILogger logger, IFontService fontService, IUnsupportedGlyphService unsupportedGlyphService, CurvedTextItem item)
Parameters
Fields
FirstUpdateIsComplete
Declaration
public bool FirstUpdateIsComplete
Field Value
Type |
Description |
System.Boolean |
|
Properties
End
Declaration
public float End { get; set; }
Property Value
Type |
Description |
System.Single |
|
FitToPath
Declaration
public bool FitToPath { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
FitToPathStep
Declaration
public float FitToPathStep { get; set; }
Property Value
Type |
Description |
System.Single |
|
Item
Declaration
public CurvedTextItem Item { get; }
Property Value
OriginalFontSize
Declaration
public float OriginalFontSize { get; set; }
Property Value
Type |
Description |
System.Single |
|
Path
Declaration
public override Path Path { get; set; }
Property Value
Overrides
Start
Declaration
public float Start { get; set; }
Property Value
Type |
Description |
System.Single |
|
Stretch
Declaration
public bool Stretch { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
TextPath
Declaration
public Path TextPath { get; set; }
Property Value
Methods
ApplyTransform(Transform)
Declaration
protected override void ApplyTransform(Transform transform)
Parameters
Overrides
CreateAdvancedText(String, Graphics)
Declaration
protected override Text CreateAdvancedText(string text, Graphics graphics)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Aurigma.GraphicsMill.AdvancedDrawing.Graphics |
graphics |
|
Returns
Type |
Description |
Aurigma.GraphicsMill.AdvancedDrawing.Text |
|
Overrides
GetBytes()
Declaration
protected override List<byte> GetBytes()
Returns
Type |
Description |
System.Collections.Generic.List<System.Byte> |
|
Overrides
GetDrawingRotationCenter(Single)
Declaration
protected override PointF GetDrawingRotationCenter(float dpi = 72F)
Parameters
Type |
Name |
Description |
System.Single |
dpi |
|
Returns
Overrides
GetItemHandlerData()
Declaration
public override ItemHandlerData GetItemHandlerData()
Returns
Overrides
GetItemHandlerDataType()
Declaration
public override string GetItemHandlerDataType()
Returns
Type |
Description |
System.String |
|
Overrides
IsTextCropped(Single)
Declaration
public bool IsTextCropped(float dpi = 72F)
Parameters
Type |
Name |
Description |
System.Single |
dpi |
|
Returns
Type |
Description |
System.Boolean |
|
ItemOnPropertyChanged(Object, PropertyChangedEventArgs)
Declaration
protected override void ItemOnPropertyChanged(object sender, PropertyChangedEventArgs propertyChangedEventArgs)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.ComponentModel.PropertyChangedEventArgs |
propertyChangedEventArgs |
|
Overrides
MeasureText(out Nullable<Boolean>, Single, Boolean)
Declaration
protected override RectangleF MeasureText(out bool? textCropped, float dpi = 72F, bool includeMargins = true)
Parameters
Type |
Name |
Description |
System.Nullable<System.Boolean> |
textCropped |
|
System.Single |
dpi |
|
System.Boolean |
includeMargins |
|
Returns
Type |
Description |
System.Drawing.RectangleF |
|
Overrides
TextAlignmentToAdvanced(TextAlignment)
Declaration
protected override TextAlignment TextAlignmentToAdvanced(TextAlignment alignment)
Parameters
Returns
Type |
Description |
Aurigma.GraphicsMill.AdvancedDrawing.TextAlignment |
|
Overrides
Transform_TransformChanged(Object, EventArgs)
Declaration
protected override void Transform_TransformChanged(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
Overrides
UpdateSize()
Declaration
public override void UpdateSize()
Overrides
Implements
System.ICloneable
System.IDisposable