---
title: "Class BaseTextItemHandler | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/BaseTextItemHandler/"
---

# Class BaseTextItemHandler

> **Inheritance:** `System.Object` -> [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md) -> [Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/BaseRectangleItemHandler.md) -> [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md) -> [Aurigma.DesignAtoms.Canvas.ItemHandlers.RectangleItemHandler](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/RectangleItemHandler.md) -> BaseTextItemHandler

###### **Namespace**: [Aurigma.DesignAtoms.Canvas.ItemHandlers](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers.md)

###### **Assembly**: Aurigma.DesignAtoms.dll

```csharp title="Syntax"
public abstract class BaseTextItemHandler : RectangleItemHandler, ICloneable, IDisposable
```

## Implements

* `System.ICloneable`
* `System.IDisposable`

## Inherited Members

* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.ItemOnPropertyChanged(System.Object, System.ComponentModel.PropertyChangedEventArgs)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#itemonpropertychanged)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetBorderColor(Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#getbordercolor)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetAltBorderColor(Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#getaltbordercolor)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetFillColor(Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#getfillcolor)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetTransformedPath()](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#gettransformedpath)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.UpdateControlPoints()](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#updatecontrolpoints)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetBorderWidth(System.Single)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#getborderwidth)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetShapeDrawer(Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings, Aurigma.DesignAtoms.Model.Color.PixelFormat, System.Single, Aurigma.DesignAtoms.Model.Math.PointF, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#getshapedrawer)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetPath()](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#getpath)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetDrawingFillColor(Aurigma.DesignAtoms.Model.Color.PixelFormat, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#getdrawingfillcolor)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.FillShape(Aurigma.GraphicsMill.AdvancedDrawing.Graphics, Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings, Aurigma.DesignAtoms.Model.Color.PixelFormat, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider, System.Boolean, System.Boolean, System.Boolean)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#fillshape)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.StrokeShape(Aurigma.GraphicsMill.AdvancedDrawing.Graphics, Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings, Aurigma.DesignAtoms.Model.Color.PixelFormat, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider, System.Boolean, System.Boolean, System.Boolean)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#strokeshape)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.DrawShape(Aurigma.DesignAtoms.Canvas.RenderingContext, Aurigma.GraphicsMill.AdvancedDrawing.Graphics, Aurigma.GraphicsMill.IImageParams, Aurigma.DesignAtoms.Canvas.ItemHandlers.DrawItemParams, Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider, System.Boolean, System.Boolean, System.Boolean, System.Boolean, System.Boolean)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#drawshape)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.Path](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#path)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.Dash](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#dash)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.BorderWidth](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#borderwidth)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.FixedBorderWidth](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#fixedborderwidth)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.MinDimension](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/BaseRectangleItemHandler.md#mindimension)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.GetTransform(System.Drawing.RectangleF, Aurigma.DesignAtoms.Model.Math.RotatedRectangleF)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/BaseRectangleItemHandler.md#gettransform)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.DrawClippingPath(Aurigma.GraphicsMill.AdvancedDrawing.Graphics, System.Action)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/BaseRectangleItemHandler.md#drawclippingpath)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.GetClippingPath(System.Single, System.Boolean)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/BaseRectangleItemHandler.md#getclippingpath)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.GetTransformedVectorMask(Aurigma.DesignAtoms.Model.Math.Transform, Aurigma.DesignAtoms.Model.Math.PointF, System.Boolean)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/BaseRectangleItemHandler.md#gettransformedvectormask)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.GetActualDash(System.Single[], System.Boolean, System.Single)](../Aurigma.DesignAtoms.Canvas.ItemHandlers/BaseRectangleItemHandler.md#getactualdash)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Rectangle](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/BaseRectangleItemHandler.md#rectangle)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Angle](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/BaseRectangleItemHandler.md#angle)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Height](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/BaseRectangleItemHandler.md#height)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Width](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/BaseRectangleItemHandler.md#width)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Location](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/BaseRectangleItemHandler.md#location)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Opacity](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/BaseRectangleItemHandler.md#opacity)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.TextWrappingMode](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/BaseRectangleItemHandler.md#textwrappingmode)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler._stateResourcesRepository](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#_stateresourcesrepository)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler._configuration](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#_configuration)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler._logger](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#_logger)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler._colorManagement](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#_colormanagement)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler._gmColorConverter](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#_gmcolorconverter)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Draw(Aurigma.DesignAtoms.Canvas.RenderingContext, Aurigma.GraphicsMill.Bitmap, Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider, System.Boolean, System.Boolean, System.Boolean)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#draw)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Draw(Aurigma.DesignAtoms.Canvas.RenderingContext, Aurigma.GraphicsMill.Bitmap, Aurigma.DesignAtoms.Canvas.ItemHandlers.DrawItemParams, Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider, System.Boolean, System.Boolean, System.Boolean)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#draw)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.ItemOnPermissionsChanged(System.Object, System.EventArgs)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#itemonpermissionschanged)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Clone()](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#clone)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.BeginUpdate()](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#beginupdate)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.EndUpdate()](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#endupdate)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Dispose()](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#dispose)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.OnChanged()](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#onchanged)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.GetDestinationColor(Aurigma.GraphicsMill.Color, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider, Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings, System.Nullable&lt;Aurigma.DesignAtoms.Model.Color.PixelFormat&gt;, System.Single, System.Boolean, System.Boolean)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#getdestinationcolor)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Dispose(System.Boolean)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#dispose)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.UniqueId](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#uniqueid)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Transform](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#transform)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Tag](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#tag)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Layer](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#layer)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.IsUpdating](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#isupdating)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Index](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#index)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Canvas](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#canvas)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Name](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#name)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.BlendMode](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#blendmode)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Permissions](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#permissions)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Data](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#data)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Visible](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#visible)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Locked](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#locked)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.SourceColorProfilesOrDefault](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#sourcecolorprofilesordefault)
* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Changed](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#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`

## Constructors

### BaseTextItemHandler

```csharp
protected BaseTextItemHandler(IConfiguration configuration, IStateResourcesRepository stateResourcesRepository, IColorManagement colorManagement, IFontService fontService, IUnsupportedGlyphService unsupportedGlyphService, IGmColorConverter gmColorConverter, IColorPreviewService colorPreviewService, BaseTextItem item)
```

## Properties

### Item

```csharp
public BaseTextItem Item { get; }
```

### RenderingMargin

```csharp
protected virtual int RenderingMargin { get; }
```

### ActualAngle

```csharp
public double ActualAngle { get; set; }
```

### TextMode

```csharp
protected TextMode TextMode { get; set; }
```

### PreventUpdate

```csharp
public bool PreventUpdate { get; set; }
```

### ValidRect

```csharp
protected bool ValidRect { get; set; }
```

### IsFormatted

```csharp
protected bool IsFormatted { get; }
```

### CheckTextCrop

```csharp
public bool CheckTextCrop { get; set; }
```

### Text

```csharp
public virtual string Text { get; set; }
```

### Font

```csharp
public IFontSettings Font { get; }
```

### Underline

```csharp
public bool Underline { get; set; }
```

### Alignment

```csharp
public TextAlignment Alignment { get; set; }
```

### Tracking

```csharp
public float Tracking { get; set; }
```

### Leading

```csharp
public float Leading { get; set; }
```

### VerticalScale

```csharp
public virtual float VerticalScale { get; set; }
```

### HorizontalScale

```csharp
public virtual float HorizontalScale { get; set; }
```

### Stroke

```csharp
public StrokeSettings Stroke { get; set; }
```

### IsStrokeSet

```csharp
public bool IsStrokeSet { get; }
```

### Shadow

```csharp
public ShadowSettings Shadow { get; set; }
```

### ControlPoints

```csharp
public override PointF[] ControlPoints { get; set; }
```

### Bounds

```csharp
public override RectangleF Bounds { get; }
```

### PreviewScale

```csharp
public float PreviewScale { get; set; }
```

### IsEmpty

```csharp
public override bool IsEmpty { get; }
```

## Methods

### GetTextWithColors

```csharp
protected string GetTextWithColors()
```

##### Returns

`System.String`

### GetTextColor

```csharp
public Color GetTextColor(IColorProfilesProvider profilesProvider)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ColorManagement/IColorProfilesProvider.md) | *profilesProvider* |  |

##### Returns

`Aurigma.GraphicsMill.Color`

### UpdateSize

```csharp
public virtual void UpdateSize()
```

### OnTransformChanged

```csharp
protected override void OnTransformChanged(object sender, EventArgs e)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Object` | *sender* |  |
| `System.EventArgs` | *e* |  |

##### Overrides

* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.OnTransformChanged(System.Object, System.EventArgs)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md#ontransformchanged)

### ApplyTransform

```csharp
protected abstract void ApplyTransform(Transform transform)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.Model.Math.Transform](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/Transform.md) | *transform* |  |

### ScaleItem

```csharp
protected void ScaleItem(float scale)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Single` | *scale* |  |

### UpdateMask

```csharp
protected virtual void UpdateMask(Transform transform, PointF controlCenter = null)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.Model.Math.Transform](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/Transform.md) | *transform* |  |
| [Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md) | *controlCenter* |  |

### GetDrawingRotationCenter

```csharp
protected abstract PointF GetDrawingRotationCenter(float dpi = 72F)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Single` | *dpi* |  |

##### Returns

[Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md)

### CreateGmFont

```csharp
protected Font CreateGmFont(Graphics graphics, FontRegistry fontRegistry, bool isVector, ref string text)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `Aurigma.GraphicsMill.AdvancedDrawing.Graphics` | *graphics* |  |
| `Aurigma.GraphicsMill.AdvancedDrawing.FontRegistry` | *fontRegistry* |  |
| `System.Boolean` | *isVector* |  |
| `System.String` | *text* |  |

##### Returns

`Aurigma.GraphicsMill.AdvancedDrawing.Font`

### CreateText

```csharp
protected Text CreateText(Graphics graphics, FontRegistry fontRegistry, IRenderingColorSettings colorSettings = null, PixelFormat? destinationPixelFormat = null, Func<string, Graphics, bool, FontRegistry, Text> createAdvancedText = null, string text = null, bool renderOnPdf = false)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `Aurigma.GraphicsMill.AdvancedDrawing.Graphics` | *graphics* |  |
| `Aurigma.GraphicsMill.AdvancedDrawing.FontRegistry` | *fontRegistry* |  |
| [Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ColorManagement/IRenderingColorSettings.md) | *colorSettings* |  |
| `System.Nullable<Aurigma.DesignAtoms.Model.Color.PixelFormat>` | *destinationPixelFormat* |  |
| `System.Func<System.String,Aurigma.GraphicsMill.AdvancedDrawing.Graphics,System.Boolean,Aurigma.GraphicsMill.AdvancedDrawing.FontRegistry,Aurigma.GraphicsMill.AdvancedDrawing.Text>` | *createAdvancedText* |  |
| `System.String` | *text* |  |
| `System.Boolean` | *renderOnPdf* |  |

##### Returns

`Aurigma.GraphicsMill.AdvancedDrawing.Text`

### CreateAdvancedText

```csharp
protected abstract 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

`Aurigma.GraphicsMill.AdvancedDrawing.Text`

### GetBasicTextAlignment

```csharp
protected TextAlignment GetBasicTextAlignment(TextAlignment alignment)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `Aurigma.GraphicsMill.AdvancedDrawing.TextAlignment` | *alignment* |  |

##### Returns

`Aurigma.GraphicsMill.AdvancedDrawing.TextAlignment`

### MeasureText

```csharp
protected virtual 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

`System.Drawing.RectangleF`

### MeasureText

```csharp
protected virtual 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

`System.Drawing.RectangleF`

### CalcMaxSideLengthOfCharBoundsPx

```csharp
protected int CalcMaxSideLengthOfCharBoundsPx(float dpi)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Single` | *dpi* |  |

##### Returns

`System.Int32`

### GetDrawingPath

```csharp
protected override Path GetDrawingPath(float dpi = 72F)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Single` | *dpi* |  |

##### Returns

`Aurigma.GraphicsMill.AdvancedDrawing.Path`

##### Overrides

* [Aurigma.DesignAtoms.Canvas.ItemHandlers.RectangleItemHandler.GetDrawingPath(System.Single)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/RectangleItemHandler.md#getdrawingpath)

### GetAdvancedTextLeading

```csharp
protected float GetAdvancedTextLeading()
```

##### Returns

`System.Single`

### GetBytes

```csharp
protected virtual List<byte> GetBytes()
```

##### Returns

`System.Collections.Generic.List<System.Byte>`

### GetItemHandlerData

```csharp
public override ItemHandlerData GetItemHandlerData()
```

##### Returns

[Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandlerData](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandlerData.md)

##### Overrides

* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetItemHandlerData()](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#getitemhandlerdata)

### GetItemHandlerDataType

```csharp
public override string GetItemHandlerDataType()
```

##### Returns

`System.String`

##### Overrides

* [Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetItemHandlerDataType()](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ShapeItemHandler.md#getitemhandlerdatatype)

## Fields

### _fontService

```csharp
protected readonly IFontService _fontService
```

### _methodMeasurer

```csharp
protected IMethodMeasurer _methodMeasurer
```

### CurrentTextImage

```csharp
public BaseTextItemHandler.TextImageData CurrentTextImage
```

### _handlingTransformChanged

```csharp
protected bool _handlingTransformChanged
```
