Back to Website
Show / Hide Table of Contents

Class PlainTextItemHandler

Inheritance
System.Object
ItemHandler
BaseRectangleItemHandler
ShapeItemHandler
RectangleItemHandler
BaseTextItemHandler
PlainTextItemHandler
Implements
System.ICloneable
System.IDisposable
Inherited Members
BaseTextItemHandler._fontService
BaseTextItemHandler._methodMeasurer
BaseTextItemHandler.CurrentTextImage
BaseTextItemHandler._handlingTransformChanged
BaseTextItemHandler.GetTextWithColors()
BaseTextItemHandler.GetTextColor(IColorProfilesProvider)
BaseTextItemHandler.OnTransformChanged(Object, EventArgs)
BaseTextItemHandler.ScaleItem(Single)
BaseTextItemHandler.UpdateMask(Transform, PointF)
BaseTextItemHandler.CreateGmFont(Graphics, FontRegistry, Boolean, String)
BaseTextItemHandler.CreateText(Graphics, FontRegistry, IRenderingColorSettings, Nullable<PixelFormat>, Func<String, Graphics, Boolean, FontRegistry, Text>, String, Boolean)
BaseTextItemHandler.GetBasicTextAlignment(TextAlignment)
BaseTextItemHandler.MeasureText(Nullable<Boolean>, Single, Boolean)
BaseTextItemHandler.MeasureText(Single, Boolean, Func<String, Graphics, Boolean, FontRegistry, Text>, Boolean)
BaseTextItemHandler.CalcMaxSideLengthOfCharBoundsPx(Single)
BaseTextItemHandler.GetDrawingPath(Single)
BaseTextItemHandler.GetAdvancedTextLeading()
BaseTextItemHandler.GetItemHandlerData()
BaseTextItemHandler.GetItemHandlerDataType()
BaseTextItemHandler.RenderingMargin
BaseTextItemHandler.ActualAngle
BaseTextItemHandler.TextMode
BaseTextItemHandler.PreventUpdate
BaseTextItemHandler.ValidRect
BaseTextItemHandler.IsFormatted
BaseTextItemHandler.CheckTextCrop
BaseTextItemHandler.Text
BaseTextItemHandler.Font
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
ShapeItemHandler.GetBorderColor(IColorProfilesProvider)
ShapeItemHandler.GetAltBorderColor(IColorProfilesProvider)
ShapeItemHandler.GetFillColor(IColorProfilesProvider)
ShapeItemHandler.GetTransformedPath()
ShapeItemHandler.UpdateControlPoints()
ShapeItemHandler.GetBorderWidth(Single)
ShapeItemHandler.GetShapeDrawer(IRenderingColorSettings, PixelFormat, Single, PointF, IColorProfilesProvider)
ShapeItemHandler.GetPath()
ShapeItemHandler.GetDrawingFillColor(PixelFormat, IColorProfilesProvider)
ShapeItemHandler.FillShape(Graphics, IRenderingColorSettings, PixelFormat, IColorProfilesProvider, Boolean, Boolean, Boolean)
ShapeItemHandler.StrokeShape(Graphics, IRenderingColorSettings, PixelFormat, IColorProfilesProvider, Boolean, Boolean, Boolean)
ShapeItemHandler.DrawShape(RenderingContext, Graphics, IImageParams, DrawItemParams, IRenderingColorSettings, IColorProfilesProvider, Boolean, Boolean, Boolean, Boolean, Boolean)
ShapeItemHandler.Path
ShapeItemHandler.Dash
ShapeItemHandler.BorderWidth
ShapeItemHandler.FixedBorderWidth
BaseRectangleItemHandler.MinDimension
BaseRectangleItemHandler.GetTransform(RectangleF, RotatedRectangleF)
BaseRectangleItemHandler.DrawClippingPath(Graphics, Action)
BaseRectangleItemHandler.GetClippingPath(Single, Boolean)
BaseRectangleItemHandler.GetTransformedVectorMask(Transform, PointF, Boolean)
BaseRectangleItemHandler.GetActualDash(Single[], Boolean, Single)
BaseRectangleItemHandler.Rectangle
BaseRectangleItemHandler.Angle
BaseRectangleItemHandler.Height
BaseRectangleItemHandler.Width
BaseRectangleItemHandler.Location
BaseRectangleItemHandler.Opacity
BaseRectangleItemHandler.TextWrappingMode
ItemHandler._fileCache
ItemHandler._configuration
ItemHandler._ccLogger
ItemHandler._logger
ItemHandler._colorManagement
ItemHandler._gmColorConverter
ItemHandler.Draw(RenderingContext, Bitmap, IRenderingColorSettings, IColorProfilesProvider, Boolean, Boolean, Boolean)
ItemHandler.Draw(RenderingContext, Bitmap, DrawItemParams, IRenderingColorSettings, IColorProfilesProvider, Boolean, Boolean, Boolean)
ItemHandler.ItemOnPermissionsChanged(Object, EventArgs)
ItemHandler.Clone()
ItemHandler.BeginUpdate()
ItemHandler.EndUpdate()
ItemHandler.Dispose()
ItemHandler.OnChanged()
ItemHandler.GetDestinationColor(Color, IColorProfilesProvider, IRenderingColorSettings, Nullable<PixelFormat>, Single, Boolean, Boolean)
ItemHandler.Dispose(Boolean)
ItemHandler.UniqueId
ItemHandler.Transform
ItemHandler.Tag
ItemHandler.Layer
ItemHandler.IsUpdating
ItemHandler.Index
ItemHandler.Canvas
ItemHandler.Name
ItemHandler.BlendMode
ItemHandler.Permissions
ItemHandler.Data
ItemHandler.Visible
ItemHandler.Locked
ItemHandler.SourceColorProfilesOrDefault
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 PlainTextItemHandler : BaseTextItemHandler, ICloneable, IDisposable

Constructors

PlainTextItemHandler(IConfiguration, IFileCache, IColorManagement, ILogger, IFontService, IUnsupportedGlyphService, IGmColorConverter, IColorPreviewService, PlainTextItem)

Declaration
public PlainTextItemHandler(IConfiguration configuration, IFileCache fileCache, IColorManagement colorManagement, ILogger ccLogger, IFontService fontService, IUnsupportedGlyphService unsupportedGlyphService, IGmColorConverter gmColorConverter, IColorPreviewService colorPreviewService, PlainTextItem item)
Parameters
Type Name Description
IConfiguration configuration
IFileCache fileCache
IColorManagement colorManagement
ILogger ccLogger
IFontService fontService
IUnsupportedGlyphService unsupportedGlyphService
IGmColorConverter gmColorConverter
IColorPreviewService colorPreviewService
PlainTextItem item

Properties

BaselineLocation

Declaration
public PointF BaselineLocation { get; set; }
Property Value
Type Description
System.Drawing.PointF

IsVertical

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

Item

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

SourceRectangle

Declaration
public RectangleF SourceRectangle { get; }
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, 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
BaseTextItemHandler.CreateAdvancedText(String, Graphics, Boolean, FontRegistry)

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)

UpdateSize()

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

Implements

System.ICloneable
System.IDisposable
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback