public SketchPage(Guid id, SketchRect frame, string name, IReadOnlyList <SketchLayer> layers) : base(id) { Frame = frame; Name = name; Layers = layers; }
public SketchLayer( Guid id, SketchLayer parent, SketchRect frame, string name, bool nameIsFixed, SketchAlignment alignment, double rotation, bool flippedVertical, bool flippedHorizontal, Optional <SketchStyle> style, IReadOnlyList <SketchLayer> children) : base(id) { Parent = parent; Frame = frame; Name = name; NameIsFixed = nameIsFixed; Alignment = alignment; Rotation = rotation; IsFlippedVertical = flippedVertical; IsFlippedHorizontal = flippedHorizontal; Style = style; Layers = children; }