public bool Equals(SvgViewBox other) { return(this.MinX == other.MinX && this.MinY == other.MinY && this.Width == other.Width && this.Height == other.Height); }
public bool Equals(SvgViewBox other) { return this.MinX == other.MinX && this.MinY == MinY && this.Width == other.Width && this.Height == other.Height; }
/// <summary> /// Initializes a new instance of the <see cref="SvgFragment"/> class. /// </summary> public SvgFragment() { this._height = new SvgUnit(SvgUnitType.Percentage, 100.0f); this._width = 1000.0f; this.ViewBox = SvgViewBox.Empty; }
/// <summary> /// Initializes a new instance of the <see cref="SvgFragment"/> class. /// </summary> public SvgFragment() { this._height = new SvgUnit(SvgUnitType.Percentage, 100.0f); this._width = 1000.0f; this.ViewBox = SvgViewBox.Empty; }
public void SetViewBox(int view) { ViewBox = new SvgViewBox(0, Height * view, Width, Height); }