Class LayoutItemHandler
Namespace: Aurigma.DesignAtoms.Canvas.ItemHandlers
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class LayoutItemHandler : GroupItemHandler, ICloneable, IDisposable, IContainerItemHandler
Inheritance: System.Object -> Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler -> Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler -> Aurigma.DesignAtoms.Canvas.ItemHandlers.GroupItemHandler -> LayoutItemHandler
Implements
System.ICloneableSystem.IDisposable- Aurigma.DesignAtoms.Canvas.ItemHandlers.IContainerItemHandler
Inherited Members
- Aurigma.DesignAtoms.Canvas.ItemHandlers.GroupItemHandler.ItemHandlers
- Aurigma.DesignAtoms.Canvas.ItemHandlers.GroupItemHandler.GetItemHandlerData()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.GroupItemHandler.GetItemHandlerDataType()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.GroupItemHandler.UpdateNestedItemHandlerLayouts(System.Func<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler, System.Boolean>)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.GroupItemHandler.Dispose(System.Boolean)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.GroupItemHandler.IsNestedContainerItemsAlreadyUpdated
- Aurigma.DesignAtoms.Canvas.ItemHandlers.GroupItemHandler.Bounds
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.MinDimension
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.GetTransform(System.Drawing.RectangleF, Aurigma.DesignAtoms.Model.Math.RotatedRectangleF)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.DrawClippingPath(Aurigma.GraphicsMill.AdvancedDrawing.Graphics, System.Action)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.GetClippingPath(System.Single, System.Boolean)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.GetTransformedVectorMask(Aurigma.DesignAtoms.Model.Math.Transform, Aurigma.DesignAtoms.Model.Math.PointF, System.Boolean)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.GetPath()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.GetDrawingPath(System.Single)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.GetActualDash(System.Single[], System.Boolean, System.Single)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Angle
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Height
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Width
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Location
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Opacity
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.TextWrappingMode
- 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.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.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.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
LayoutItemHandler
public LayoutItemHandler(IConfiguration configuration, IStateResourcesRepository stateResourcesRepository, IColorManagement colorManagement, IGmColorConverter gmColorConverter, LayoutItem item)
Properties
Item
public LayoutItem Item { get; }
IsEmpty
public override bool IsEmpty { get; }
Visible
public override bool Visible { get; set; }
Rectangle
public override RotatedRectangleF Rectangle { get; set; }
Methods
GetNestedItemHandlers
public override List<ItemHandler> GetNestedItemHandlers(bool excludeGroupItems = false, bool reversedZOrder = false, bool onlyVisible = false)
Parameters
| Type | Name | Description |
|---|---|---|
System.Boolean | excludeGroupItems | |
System.Boolean | reversedZOrder | |
System.Boolean | onlyVisible |
Returns
System.Collections.Generic.List<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>
Overrides
ApplyLayout
public void ApplyLayout()
Init
public void Init()
GenerateAutoLayoutSettings
public static AutoLayoutSettings GenerateAutoLayoutSettings(List<RectangleF> rectangles, AutoLayoutSettings.AutoLayoutAlignItems? alignItems = null, AutoLayoutSettings.AutoLayoutOrientation? orientation = null, float? margin = null, AutoLayoutSettings.AutoLayoutAnchorPoint? anchorPoint = null)
Parameters
| Type | Name | Description |
|---|---|---|
System.Collections.Generic.List<System.Drawing.RectangleF> | rectangles | |
System.Nullable<Aurigma.DesignAtoms.Model.Items.AutoLayoutSettings.AutoLayoutAlignItems> | alignItems | |
System.Nullable<Aurigma.DesignAtoms.Model.Items.AutoLayoutSettings.AutoLayoutOrientation> | orientation | |
System.Nullable<System.Single> | margin | |
System.Nullable<Aurigma.DesignAtoms.Model.Items.AutoLayoutSettings.AutoLayoutAnchorPoint> | anchorPoint |
Returns
Aurigma.DesignAtoms.Model.Items.AutoLayoutSettings
InitLayoutItem
public static void InitLayoutItem(IItemHandlerFactory itemHandlerFactory, LayoutItem layoutItem)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Canvas.ItemHandlers.IItemHandlerFactory | itemHandlerFactory | |
| Aurigma.DesignAtoms.Model.Items.LayoutItem | layoutItem |
GetSortedItems
public List<LayoutItem> GetSortedItems()
Returns
System.Collections.Generic.List<Aurigma.DesignAtoms.Model.Items.LayoutItem>
GetSortedNestedLayouts
public List<LayoutItemHandler> GetSortedNestedLayouts()
Returns
System.Collections.Generic.List<Aurigma.DesignAtoms.Canvas.ItemHandlers.LayoutItemHandler>