Example #1
0
 public SketchPage(Guid id, SketchRect frame, string name, IReadOnlyList <SketchLayer> layers)
     : base(id)
 {
     Frame  = frame;
     Name   = name;
     Layers = layers;
 }
Example #2
0
 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;
 }