/// <summary> /// Applies the PathQuadraticCurveToAbs operation to the <see cref="Paths" />. /// </summary> /// <param name="controlPoint">Coordinate of control point.</param> /// <param name="end">Coordinate of final point.</param> /// <returns>The <see cref="Paths" /> instance.</returns> public IPaths <QuantumType> QuadraticCurveToAbs(PointD controlPoint, PointD end) { _paths.Add(new PathQuadraticCurveToAbs(controlPoint, end)); return(this); }
public void Density(PointD value) { _NativeInstance.Density(value.ToString()); }
/// <summary> /// Applies the PathMoveToRel operation to the <see cref="Paths" />. /// </summary> /// <param name="coordinate">The coordinate to use.</param> /// <returns>The <see cref="Paths" /> instance.</returns> public IPaths <QuantumType> MoveToRel(PointD coordinate) { _paths.Add(new PathMoveToRel(coordinate)); return(this); }
/// <summary> /// Adds a new instance of the <see cref="PathSmoothQuadraticCurveToRel" /> class to the <see cref="Paths" />. /// </summary> /// <param name="end">Coordinate of final point</param> /// <returns>The <see cref="Paths" /> instance.</returns> public Paths SmoothQuadraticCurveToRel(PointD end) { _Paths.Add(new PathSmoothQuadraticCurveToRel(end)); return(this); }
public void PathQuadraticCurveToRel(PointD controlPoint, PointD endPoint) => _nativeInstance.PathQuadraticCurveToRel(controlPoint.X, controlPoint.Y, endPoint.X, endPoint.Y);
/// <summary> /// Applies the PathCurveToAbs operation to the <see cref="Paths" />. /// </summary> /// <param name="controlPointStart">Coordinate of control point for curve beginning.</param> /// <param name="controlPointEnd">Coordinate of control point for curve ending.</param> /// <param name="end">Coordinate of the end of the curve.</param> /// <returns>The <see cref="Paths" /> instance.</returns> public IPaths <QuantumType> CurveToAbs(PointD controlPointStart, PointD controlPointEnd, PointD end) { _paths.Add(new PathCurveToAbs(controlPointStart, controlPointEnd, end)); return(this); }
/// <summary> /// Adds a new instance of the <see cref="PathQuadraticCurveToRel" /> class to the <see cref="Paths" />. /// </summary> /// <param name="controlPoint">Coordinate of control point</param> /// <param name="end">Coordinate of final point</param> /// <returns>The <see cref="Paths" /> instance.</returns> public Paths QuadraticCurveToRel(PointD controlPoint, PointD end) { _Paths.Add(new PathQuadraticCurveToRel(controlPoint, end)); return(this); }
/// <summary> /// Creates a new DrawableDensity instance. /// </summary> /// <param name="pointDensity">The vertical and horizontal resolution.</param> public Drawables Density(PointD pointDensity) { _Drawables.Add(new DrawableDensity(pointDensity)); return(this); }
/// <summary> /// Applies the DrawableDensity operation to the <see cref="Drawables" />. /// </summary> /// <param name="pointDensity">The vertical and horizontal resolution.</param> /// <returns>The <see cref="Drawables" /> instance.</returns> public IDrawables <QuantumType> Density(PointD pointDensity) { _drawables.Add(new DrawableDensity(pointDensity)); return(this); }
/// <summary> /// Adds a new instance of the <see cref="PathMoveToAbs" /> class to the <see cref="Paths" />. /// </summary> /// <param name="coordinate">The coordinate to use.</param> /// <returns>The <see cref="Paths" /> instance.</returns> public Paths MoveToAbs(PointD coordinate) { _paths.Add(new PathMoveToAbs(coordinate)); return(this); }
///<summary> /// Initializes a new instance of the PathCurveToAbs class. ///</summary> ///<param name="controlPointStart">Coordinate of control point for curve beginning</param> ///<param name="controlPointEnd">Coordinate of control point for curve ending</param> ///<param name="end">Coordinate of the end of the curve</param> public PathCurveToAbs(PointD controlPointStart, PointD controlPointEnd, PointD end) { _ControlPointStart = controlPointStart; _ControlPointEnd = controlPointEnd; _End = end; }
///<summary> /// Initializes a new instance of the PathMoveToRel class. ///</summary> ///<param name="coordinate">The coordinate to use.</param> public PathMoveToRel(PointD coordinate) { _Coordinate = coordinate; }
public void PathSmoothQuadraticCurveToAbs(PointD endPoint) { _nativeInstance.PathSmoothQuadraticCurveToAbs(endPoint.X, endPoint.Y); }
public void PathSmoothCurveToAbs(PointD controlPoint, PointD endPoint) => _nativeInstance.PathSmoothCurveToAbs(controlPoint.X, controlPoint.Y, endPoint.X, endPoint.Y);
/// <summary> /// Applies the PathSmoothCurveToRel operation to the <see cref="Paths" />. /// </summary> /// <param name="controlPoint">Coordinate of second point.</param> /// <param name="end">Coordinate of final point.</param> /// <returns>The <see cref="Paths" /> instance.</returns> public IPaths <QuantumType> SmoothCurveToRel(PointD controlPoint, PointD end) { _paths.Add(new PathSmoothCurveToRel(controlPoint, end)); return(this); }
public void PathCurveToRel(PointD controlPointStart, PointD controlPointEnd, PointD endPoint) { _NativeInstance.PathCurveToRel(controlPointStart.X, controlPointStart.Y, controlPointEnd.X, controlPointEnd.Y, endPoint.X, endPoint.Y); }
/// <summary> /// Applies the PathSmoothQuadraticCurveToRel operation to the <see cref="Paths" />. /// </summary> /// <param name="end">Coordinate of final point.</param> /// <returns>The <see cref="Paths" /> instance.</returns> public IPaths <QuantumType> SmoothQuadraticCurveToRel(PointD end) { _paths.Add(new PathSmoothQuadraticCurveToRel(end)); return(this); }
public void PathQuadraticCurveToAbs(PointD controlPoint, PointD endPoint) { _NativeInstance.PathQuadraticCurveToAbs(controlPoint.X, controlPoint.Y, endPoint.X, endPoint.Y); }
/// <summary> /// Adds a new instance of the <see cref="PathMoveToRel" /> class to the <see cref="Paths" />. /// </summary> /// <param name="coordinate">The coordinate to use.</param> /// <returns>The <see cref="Paths" /> instance.</returns> public Paths MoveToRel(PointD coordinate) { _Paths.Add(new PathMoveToRel(coordinate)); return(this); }
public void PathSmoothCurveToRel(PointD controlPoint, PointD endPoint) { _NativeInstance.PathSmoothCurveToRel(controlPoint.X, controlPoint.Y, endPoint.X, endPoint.Y); }
/// <summary> /// Adds a new instance of the <see cref="PathSmoothCurveToRel" /> class to the <see cref="Paths" />. /// </summary> /// <param name="controlPoint">Coordinate of second point</param> /// <param name="end">Coordinate of final point</param> /// <returns>The <see cref="Paths" /> instance.</returns> public Paths SmoothCurveToRel(PointD controlPoint, PointD end) { _Paths.Add(new PathSmoothCurveToRel(controlPoint, end)); return(this); }
public void PathSmoothQuadraticCurveToRel(PointD endPoint) { _NativeInstance.PathSmoothQuadraticCurveToRel(endPoint.X, endPoint.Y); }
/// <summary> /// Adds a new instance of the <see cref="PathCurveToAbs" /> class to the <see cref="Paths" />. /// </summary> /// <param name="controlPointStart">Coordinate of control point for curve beginning</param> /// <param name="controlPointEnd">Coordinate of control point for curve ending</param> /// <param name="end">Coordinate of the end of the curve</param> /// <returns>The <see cref="Paths" /> instance.</returns> public Paths CurveToAbs(PointD controlPointStart, PointD controlPointEnd, PointD end) { _Paths.Add(new PathCurveToAbs(controlPointStart, controlPointEnd, end)); return(this); }
public void PathCurveToAbs(PointD controlPointStart, PointD controlPointEnd, PointD endPoint) => _nativeInstance.PathCurveToAbs(controlPointStart.X, controlPointStart.Y, controlPointEnd.X, controlPointEnd.Y, endPoint.X, endPoint.Y);