Back to Website
Show / Hide Table of Contents

Class BoundedTextItemHandler

Inheritance
System.Object
ItemHandler
BaseRectangleItemHandler
ShapeItemHandler
RectangleItemHandler
BaseTextItemHandler
BoundedTextItemHandler
Implements
System.ICloneable
System.IDisposable
IWrappedTextItemHandler
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.CalcMaxSideLengthOfCharBoundsPx(Single)
BaseTextItemHandler.GetAdvancedTextLeading()
BaseTextItemHandler.GetItemHandlerData()
BaseTextItemHandler.GetItemHandlerDataType()
BaseTextItemHandler.ActualAngle
BaseTextItemHandler.TextMode
BaseTextItemHandler.PreventUpdate
BaseTextItemHandler.ValidRect
BaseTextItemHandler.IsFormatted
BaseTextItemHandler.CheckTextCrop
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 BoundedTextItemHandler : BaseTextItemHandler, ICloneable, IDisposable, IWrappedTextItemHandler

Constructors

BoundedTextItemHandler(IConfiguration, IFileCache, IColorManagement, ILogger, IFontService, IUnsupportedGlyphService, IGmColorConverter, IColorPreviewService, BoundedTextItem)

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

Properties

IsVertical

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

Item

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

ParagraphSettings

Declaration
public ParagraphSettings ParagraphSettings { get; set; }
Property Value
Type Description
ParagraphSettings

RenderingMargin

Declaration
protected override int RenderingMargin { get; }
Property Value
Type Description
System.Int32
Overrides
BaseTextItemHandler.RenderingMargin

Text

Declaration
public override string Text { get; set; }
Property Value
Type Description
System.String
Overrides
BaseTextItemHandler.Text

TextRectangle

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

VerticalAlignment

Declaration
public TextVerticalAlignment VerticalAlignment { get; set; }
Property Value
Type Description
TextVerticalAlignment

WrappingMargin

Declaration
public float WrappingMargin { get; set; }
Property Value
Type Description
System.Single

WrappingPath

Declaration
public Path WrappingPath { get; set; }
Property Value
Type Description
Path

Methods

ApplyTransform(Transform)

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

ApplyTransform(Transform, Single)

Declaration
protected void ApplyTransform(Transform transform, float angle)
Parameters
Type Name Description
Transform transform
System.Single angle

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()

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
BaseTextItemHandler.GetDrawingPath(Single)

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)

IsTextCropped(Single, Boolean)

Declaration
public bool IsTextCropped(float dpi = 72F, bool includeMargins = true)
Parameters
Type Name Description
System.Single dpi
System.Boolean includeMargins
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
ShapeItemHandler.ItemOnPropertyChanged(Object, PropertyChangedEventArgs)

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
BaseTextItemHandler.MeasureText(out Nullable<Boolean>, Single, Boolean)

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
BaseTextItemHandler.MeasureText(Single, Boolean, Func<String, Graphics, Boolean, FontRegistry, Text>, Boolean)

UpdateSize()

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

Implements

System.ICloneable
System.IDisposable
IWrappedTextItemHandler
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