Back to Website
Show / Hide Table of Contents

Class AutoScaledTextItemHandler

Inheritance
System.Object
ItemHandler
BaseRectangleItemHandler
ShapeItemHandler
RectangleItemHandler
BaseTextItemHandler
AutoScaledTextItemHandler
Implements
System.ICloneable
System.IDisposable
Inherited Members
BaseTextItemHandler._fontService
BaseTextItemHandler.CurrentTextImage
BaseTextItemHandler._handlingTransformChanged
BaseTextItemHandler._minimalFontSize
BaseTextItemHandler.Transform_TransformChanged(Object, EventArgs)
BaseTextItemHandler.ScaleItem(Single)
BaseTextItemHandler.UpdateMask(Transform, PointF)
BaseTextItemHandler.CreateText(Graphics, IImageParams, IColorManagement, Func<String, Graphics, Text>, String, Boolean)
BaseTextItemHandler.CreateFont(Graphics, IFontSettings)
BaseTextItemHandler.CorrectFontSize(Single)
BaseTextItemHandler.MeasureText(Nullable<Boolean>, Single, Boolean)
BaseTextItemHandler.CalcMaxSideLengthOfCharBoundsPx(Single)
BaseTextItemHandler.GetDrawingPath(Single)
BaseTextItemHandler.GetOverlapLines()
BaseTextItemHandler.GetAdvancedTextLeading()
BaseTextItemHandler.ClearColorProfile()
BaseTextItemHandler.ConvertColorProfile(IColorManagement, ColorSpace)
BaseTextItemHandler.GetItemHandlerData()
BaseTextItemHandler.GetItemHandlerDataType()
BaseTextItemHandler.RenderingMargin
BaseTextItemHandler.ActualAngle
BaseTextItemHandler.TextMode
BaseTextItemHandler.PreventUpdate
BaseTextItemHandler.ValidRect
BaseTextItemHandler.IsFormatted
BaseTextItemHandler.CheckTextCrop
BaseTextItemHandler.Text
BaseTextItemHandler.Font
BaseTextItemHandler.TextColor
BaseTextItemHandler.Underline
BaseTextItemHandler.Alignment
BaseTextItemHandler.Tracking
BaseTextItemHandler.Leading
BaseTextItemHandler.VerticalScale
BaseTextItemHandler.HorizontalScale
BaseTextItemHandler.Stroke
BaseTextItemHandler.IsStrokeSet
BaseTextItemHandler.Shadow
BaseTextItemHandler.ControlPoints
BaseTextItemHandler.Bounds
BaseTextItemHandler.PreviewScale
BaseTextItemHandler.IsEmpty
BaseTextItemHandler.Visible
BaseTextItemHandler.AutoLeading
ShapeItemHandler.UpdateControlPoints()
ShapeItemHandler.GetBorderWidth(Single)
ShapeItemHandler.GetActualDash(Single)
ShapeItemHandler.GetTransformedPath()
ShapeItemHandler.GetShapeDrawer(IImageParams, IColorManagement, Single, PointF)
ShapeItemHandler.GetPath()
ShapeItemHandler.GetDrawingFillColor(IImageParams)
ShapeItemHandler.FillShape(Graphics, IImageParams, IColorManagement, Boolean)
ShapeItemHandler.StrokeShape(Graphics, IImageParams, IColorManagement, Boolean)
ShapeItemHandler.DrawShape(RenderingContext, Graphics, IImageParams, IColorManagement, Boolean, Boolean, Boolean)
ShapeItemHandler.Path
ShapeItemHandler.BorderColor
ShapeItemHandler.AltBorderColor
ShapeItemHandler.Dash
ShapeItemHandler.FillColor
ShapeItemHandler.BorderWidth
ShapeItemHandler.FixedBorderWidth
BaseRectangleItemHandler.MinDimension
BaseRectangleItemHandler.GetTransform(RectangleF, RotatedRectangleF)
BaseRectangleItemHandler.DrawClippingPath(Graphics, Action)
BaseRectangleItemHandler.GetClippingPath(Single, Boolean)
BaseRectangleItemHandler.GetTransformedVectorMask(Transform, PointF, Boolean)
BaseRectangleItemHandler.Rectangle
BaseRectangleItemHandler.Angle
BaseRectangleItemHandler.Height
BaseRectangleItemHandler.Width
BaseRectangleItemHandler.Location
BaseRectangleItemHandler.Opacity
BaseRectangleItemHandler.TextWrappingMode
ItemHandler._fileCache
ItemHandler._configuration
ItemHandler._ccLogger
ItemHandler._logger
ItemHandler.ItemOnPermissionsChanged(Object, EventArgs)
ItemHandler.Clone()
ItemHandler.OnChanged()
ItemHandler.CreateVoPermissions()
ItemHandler.Draw(RenderingContext, Bitmap, Boolean)
ItemHandler.GetDestinationColor(Color, IImageParams, IColorManagement, Single, Boolean)
ItemHandler.GetColorManagement(Boolean)
ItemHandler.BeginUpdate()
ItemHandler.EndUpdate()
ItemHandler.Dispose()
ItemHandler.Dispose(Boolean)
ItemHandler.UniqueId
ItemHandler.Transform
ItemHandler.Tag
ItemHandler.Layer
ItemHandler.Index
ItemHandler.Canvas
ItemHandler.Name
ItemHandler.BlendMode
ItemHandler.Permissions
ItemHandler.Data
ItemHandler.Locked
ItemHandler.IsUpdating
ItemHandler.Changed
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()
Namespace: Aurigma.DesignAtoms.Canvas.ItemHandlers
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class AutoScaledTextItemHandler : BaseTextItemHandler, ICloneable, IDisposable

Constructors

AutoScaledTextItemHandler(IConfiguration, IFileCache, ILogger, IFontService, IUnsupportedGlyphService, AutoScaledTextItem)

Declaration
public AutoScaledTextItemHandler(IConfiguration configuration, IFileCache fileCache, ILogger logger, IFontService fontService, IUnsupportedGlyphService unsupportedGlyphService, AutoScaledTextItem item)
Parameters
Type Name Description
IConfiguration configuration
IFileCache fileCache
ILogger logger
IFontService fontService
IUnsupportedGlyphService unsupportedGlyphService
AutoScaledTextItem item

Properties

IsVertical

Declaration
public bool IsVertical { get; set; }
Property Value
Type Description
System.Boolean

Item

Declaration
public AutoScaledTextItem Item { get; }
Property Value
Type Description
AutoScaledTextItem

TextRectangle

Declaration
public RectangleF TextRectangle { get; set; }
Property Value
Type Description
System.Drawing.RectangleF

Methods

ApplyTransform(Transform)

Declaration
protected override void ApplyTransform(Transform transform)
Parameters
Type Name Description
Transform transform
Overrides
BaseTextItemHandler.ApplyTransform(Transform)

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
BaseTextItemHandler.CreateAdvancedText(String, Graphics)

GetBytes()

Declaration
protected override List<byte> GetBytes()
Returns
Type Description
System.Collections.Generic.List<System.Byte>
Overrides
BaseTextItemHandler.GetBytes()

GetDrawingRotationCenter(Single)

Declaration
protected override PointF GetDrawingRotationCenter(float dpi = 72F)
Parameters
Type Name Description
System.Single dpi
Returns
Type Description
PointF
Overrides
BaseTextItemHandler.GetDrawingRotationCenter(Single)

ItemOnPropertyChanged(Object, PropertyChangedEventArgs)

Declaration
protected override void ItemOnPropertyChanged(object sender, PropertyChangedEventArgs propertyChangedEventArgs)
Parameters
Type Name Description
System.Object sender
System.ComponentModel.PropertyChangedEventArgs propertyChangedEventArgs
Overrides
ShapeItemHandler.ItemOnPropertyChanged(Object, PropertyChangedEventArgs)

MeasureText(Single, Boolean, Func<String, Graphics, Text>, Boolean)

Declaration
protected override RectangleF MeasureText(float dpi = 72F, bool includeMargins = true, Func<string, Graphics, Text> createAdvancedText = null, bool withShadowAndStroke = true)
Parameters
Type Name Description
System.Single dpi
System.Boolean includeMargins
System.Func<System.String, Aurigma.GraphicsMill.AdvancedDrawing.Graphics, Aurigma.GraphicsMill.AdvancedDrawing.Text> createAdvancedText
System.Boolean withShadowAndStroke
Returns
Type Description
System.Drawing.RectangleF
Overrides
BaseTextItemHandler.MeasureText(Single, Boolean, Func<String, Graphics, Text>, Boolean)

TextAlignmentToAdvanced(TextAlignment)

Declaration
protected override TextAlignment TextAlignmentToAdvanced(TextAlignment alignment)
Parameters
Type Name Description
TextAlignment alignment
Returns
Type Description
Aurigma.GraphicsMill.AdvancedDrawing.TextAlignment
Overrides
BaseTextItemHandler.TextAlignmentToAdvanced(TextAlignment)

UpdateSize()

Declaration
public override void UpdateSize()
Overrides
BaseTextItemHandler.UpdateSize()

Implements

System.ICloneable
System.IDisposable
Back to top Copyright © 2001–2022 Aurigma, Inc. All rights reserved.
Loading...