Skip to main content

Class BaseRectangleItemHandler

Namespace: Aurigma.DesignAtoms.Canvas.ItemHandlers​
Assembly: Aurigma.DesignAtoms.dll​
Syntax
public abstract class BaseRectangleItemHandler : ItemHandler, ICloneable, IDisposable

Inheritance: System.Object -> Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler -> BaseRectangleItemHandler

Implements​

  • System.ICloneable
  • System.IDisposable

Inherited Members​

Constructors​

BaseRectangleItemHandler​

protected BaseRectangleItemHandler(IConfiguration configuration, IStateResourcesRepository stateResourcesRepository, IColorManagement colorManagement, IGmColorConverter gmColorConverter, float left, float top, float width, float height, Item item)

BaseRectangleItemHandler​

protected BaseRectangleItemHandler(IConfiguration configuration, IStateResourcesRepository stateResourcesRepository, IColorManagement colorManagement, IGmColorConverter gmColorConverter, RectangleF rectangle, Item item)

BaseRectangleItemHandler​

protected BaseRectangleItemHandler(IConfiguration configuration, IStateResourcesRepository stateResourcesRepository, IColorManagement colorManagement, IGmColorConverter gmColorConverter, Item item)

Properties​

Rectangle​

public virtual RotatedRectangleF Rectangle { get; set; }

Angle​

public double Angle { get; set; }

Height​

public float Height { get; set; }

Width​

public float Width { get; set; }

Location​

public PointF Location { get; set; }

Opacity​

public float Opacity { get; set; }

Bounds​

public override RectangleF Bounds { get; }

TextWrappingMode​

public TextWrappingMode TextWrappingMode { get; set; }

Methods​

GetTransform​

protected Transform GetTransform(RectangleF source, RotatedRectangleF target)
Parameters​
TypeNameDescription
System.Drawing.RectangleFsource
Aurigma.DesignAtoms.Model.Math.RotatedRectangleFtarget
Returns​

Aurigma.DesignAtoms.Model.Math.Transform

DrawClippingPath​

protected virtual void DrawClippingPath(Graphics graphics, Action drawCallback)
Parameters​
TypeNameDescription
Aurigma.GraphicsMill.AdvancedDrawing.Graphicsgraphics
System.ActiondrawCallback

GetClippingPath​

protected virtual Path GetClippingPath(float dpi = 72F, bool rotate = true)
Parameters​
TypeNameDescription
System.Singledpi
System.Booleanrotate
Returns​

Aurigma.GraphicsMill.AdvancedDrawing.Path

GetTransformedVectorMask​

protected Path GetTransformedVectorMask(Transform transform, PointF controlCenter, bool rotate)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Math.Transformtransform
Aurigma.DesignAtoms.Model.Math.PointFcontrolCenter
System.Booleanrotate
Returns​

Aurigma.DesignAtoms.Model.Math.Path

GetPath​

protected virtual Path GetPath()
Returns​

Aurigma.GraphicsMill.AdvancedDrawing.Path

GetDrawingPath​

protected virtual Path GetDrawingPath(float dpi = 72F)
Parameters​
TypeNameDescription
System.Singledpi
Returns​

Aurigma.GraphicsMill.AdvancedDrawing.Path

GetActualDash​

protected float[] GetActualDash(float[] dash, bool fixedBorderWidth, float dpi = 72F)
Parameters​
TypeNameDescription
System.Single[]dash
System.BooleanfixedBorderWidth
System.Singledpi
Returns​

System.Single[]

Fields​

MinDimension​

protected static readonly float MinDimension
Was this page helpful?