Class PathBoundedTextItemHandler
Inheritance
System.Object
PathBoundedTextItemHandler
Implements
System.ICloneable
System.IDisposable
Inherited Members
BaseTextItemHandler.CreateText(Graphics, FontRegistry, IRenderingColorSettings, Nullable<PixelFormat>, Func<String, Graphics, Boolean, FontRegistry, Text>, String, Boolean)
ShapeItemHandler.DrawShape(RenderingContext, Graphics, IImageParams, DrawItemParams, IRenderingColorSettings, IColorProfilesProvider, Boolean, Boolean, Boolean, Boolean, Boolean)
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 PathBoundedTextItemHandler : BaseTextItemHandler, ICloneable, IDisposable, IWrappedTextItemHandler
Constructors
PathBoundedTextItemHandler(IConfiguration, IFileCache, IColorManagement, ILogger, IFontService, IUnsupportedGlyphService, IGmColorConverter, IColorPreviewService, PathBoundedTextItem)
Declaration
public PathBoundedTextItemHandler(IConfiguration configuration, IFileCache fileCache, IColorManagement colorManagement, ILogger logger, IFontService fontService, IUnsupportedGlyphService unsupportedGlyphService, IGmColorConverter gmColorConverter, IColorPreviewService colorPreviewService, PathBoundedTextItem item)
Parameters
Properties
BoundingPaths
Declaration
public Path[] BoundingPaths { get; set; }
Property Value
IsVertical
Declaration
public bool IsVertical { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Item
Declaration
public PathBoundedTextItem Item { get; }
Property Value
ParagraphSettings
Declaration
public ParagraphSettings ParagraphSettings { get; set; }
Property Value
RenderingMargin
Declaration
protected override int RenderingMargin { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Overrides
WrappingMargin
Declaration
public float WrappingMargin { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
WrappingPath
Declaration
public Path WrappingPath { get; set; }
Property Value
Methods
ApplyTransform(Transform)
Declaration
protected override void ApplyTransform(Transform transform)
Parameters
Overrides
CreateAdvancedText(String, Graphics, Boolean, FontRegistry)
Declaration
protected override Text CreateAdvancedText(string text, Graphics graphics, bool isVector, FontRegistry fontRegistry)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
| Aurigma.GraphicsMill.AdvancedDrawing.Graphics |
graphics |
|
| System.Boolean |
isVector |
|
| Aurigma.GraphicsMill.AdvancedDrawing.FontRegistry |
fontRegistry |
|
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
GetDrawingPath(Single)
Declaration
protected override Path GetDrawingPath(float dpi = 72F)
Parameters
| Type |
Name |
Description |
| System.Single |
dpi |
|
Returns
| Type |
Description |
| Aurigma.GraphicsMill.AdvancedDrawing.Path |
|
Overrides
GetDrawingRotationCenter(Single)
Declaration
protected override PointF GetDrawingRotationCenter(float dpi = 72F)
Parameters
| Type |
Name |
Description |
| System.Single |
dpi |
|
Returns
Overrides
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 = false)
Parameters
| Type |
Name |
Description |
| System.Nullable<System.Boolean> |
textCropped |
|
| System.Single |
dpi |
|
| System.Boolean |
includeMargins |
|
Returns
| Type |
Description |
| System.Drawing.RectangleF |
|
Overrides
MeasureText(Single, Boolean, Func<String, Graphics, Boolean, FontRegistry, Text>, Boolean)
Declaration
protected override RectangleF MeasureText(float dpi = 72F, bool includeMargins = false, Func<string, Graphics, bool, FontRegistry, Text> createAdvancedText = null, bool withShadowAndStroke = true)
Parameters
| Type |
Name |
Description |
| System.Single |
dpi |
|
| System.Boolean |
includeMargins |
|
| System.Func<System.String, Aurigma.GraphicsMill.AdvancedDrawing.Graphics, System.Boolean, Aurigma.GraphicsMill.AdvancedDrawing.FontRegistry, Aurigma.GraphicsMill.AdvancedDrawing.Text> |
createAdvancedText |
|
| System.Boolean |
withShadowAndStroke |
|
Returns
| Type |
Description |
| System.Drawing.RectangleF |
|
Overrides
OnTransformChanged(Object, EventArgs)
Declaration
protected override void OnTransformChanged(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