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.ICloneableSystem.IDisposable
Inherited Members
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler._stateResourcesRepository
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler._configuration
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler._logger
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler._colorManagement
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler._gmColorConverter
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.GetItemHandlerData()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.GetItemHandlerDataType()
- 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)
- 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)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.ItemOnPropertyChanged(System.Object, System.ComponentModel.PropertyChangedEventArgs)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.ItemOnPermissionsChanged(System.Object, System.EventArgs)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Clone()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.BeginUpdate()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.EndUpdate()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Dispose()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.OnTransformChanged(System.Object, System.EventArgs)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.OnChanged()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.GetDestinationColor(Aurigma.GraphicsMill.Color, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider, Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings, System.Nullable<Aurigma.DesignAtoms.Model.Color.PixelFormat>, System.Single, System.Boolean, System.Boolean)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Dispose(System.Boolean)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Item
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.IsEmpty
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.ControlPoints
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.UniqueId
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Transform
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Tag
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Layer
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.IsUpdating
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Index
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Canvas
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Name
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.BlendMode
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Permissions
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Data
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Visible
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Locked
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.SourceColorProfilesOrDefault
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Changed
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
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
| Type | Name | Description |
|---|---|---|
System.Drawing.RectangleF | source | |
| Aurigma.DesignAtoms.Model.Math.RotatedRectangleF | target |
Returns
Aurigma.DesignAtoms.Model.Math.Transform
DrawClippingPath
protected virtual void DrawClippingPath(Graphics graphics, Action drawCallback)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.AdvancedDrawing.Graphics | graphics | |
System.Action | drawCallback |
GetClippingPath
protected virtual Path GetClippingPath(float dpi = 72F, bool rotate = true)
Parameters
| Type | Name | Description |
|---|---|---|
System.Single | dpi | |
System.Boolean | rotate |
Returns
Aurigma.GraphicsMill.AdvancedDrawing.Path
GetTransformedVectorMask
protected Path GetTransformedVectorMask(Transform transform, PointF controlCenter, bool rotate)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.Math.Transform | transform | |
| Aurigma.DesignAtoms.Model.Math.PointF | controlCenter | |
System.Boolean | rotate |
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
| Type | Name | Description |
|---|---|---|
System.Single | dpi |
Returns
Aurigma.GraphicsMill.AdvancedDrawing.Path
GetActualDash
protected float[] GetActualDash(float[] dash, bool fixedBorderWidth, float dpi = 72F)
Parameters
| Type | Name | Description |
|---|---|---|
System.Single[] | dash | |
System.Boolean | fixedBorderWidth | |
System.Single | dpi |
Returns
System.Single[]
Fields
MinDimension
protected static readonly float MinDimension