protected LayeredPositionableObjectRecord(ActionTypes actionType, ViewModel.ViewModelController controller, ObjectModel.LayeredPositionableObject positionableObject) : base(actionType, controller, positionableObject) { CurrentLayerId = positionableObject.CurrentLayer.Id; }
internal LayeredPositionableIcon(DesignerControl designer, ObjectModel.LayeredPositionableObject layeredPositionalObject, System.Windows.Point?center, System.Windows.Point?leftTop, Size iconSize) : base(designer, layeredPositionalObject, center ?? new System.Windows.Point(Math.Max(0, leftTop.Value.X + iconSize.Width / 2), Math.Max(0, leftTop.Value.Y + iconSize.Width / 2)), iconSize) { }