/// <summary> /// Creates a new <see cref="DefineShape3Tag"/> instance. /// </summary> /// <param name="shapeId">Shape id.</param> /// <param name="rect">Rect.</param> /// <param name="shape">Shape.</param> public DefineShape3Tag(ushort shapeId, Rect rect, ShapeWithStyle shape) : base(shapeId, rect, shape) { this.shapeType = ShapeType.Shape3; this.versionCompatibility = 3; this._tagCode = (int)TagCodeEnum.DefineShape3; }
/// <summary> /// Inits this instance. /// </summary> private void Init() { this.rect = new Rect(); this.shape = new ShapeWithStyle(); }
/// <summary> /// Creates a new <see cref="DefineShape"/> instance. /// </summary> /// <param name="shapeId">Shape id.</param> /// <param name="rect">Rect.</param> /// <param name="shape">Shape.</param> protected DefineShape(ushort shapeId, Rect rect, ShapeWithStyle shape) { Init(); this.shapeId = shapeId; this.rect = rect; this.shape = shape; }