mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-15 19:54:52 +08:00
Moving PdfPath from PdfPig.Core to PdfPig
Add FillColor, StrokeColor, LineWidth, LineDashPattern and LineCapStyle to PdfPath.
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
namespace UglyToad.PdfPig.Core
|
namespace UglyToad.PdfPig.Graphics
|
||||||
{
|
{
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using UglyToad.PdfPig.Core;
|
||||||
|
using UglyToad.PdfPig.Graphics.Colors;
|
||||||
|
using UglyToad.PdfPig.Graphics.Core;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A path is made up of one or more disconnected subpaths, each comprising a sequence of connected segments. The topology of the path is unrestricted: it may be concave or convex, may contain multiple subpaths representing disjoint areas, and may intersect itself in arbitrary ways.
|
/// A path is made up of one or more disconnected subpaths, each comprising a sequence of connected segments. The topology of the path is unrestricted: it may be concave or convex, may contain multiple subpaths representing disjoint areas, and may intersect itself in arbitrary ways.
|
||||||
@@ -18,6 +21,36 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsClipping { get; private set; }
|
public bool IsClipping { get; private set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public IColor FillColor { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public IColor StrokeColor { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Thickness in user space units of path to be stroked.
|
||||||
|
/// </summary>
|
||||||
|
public double LineWidth { get; set; } = double.NaN;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The pattern to be used for stroked lines.
|
||||||
|
/// </summary>
|
||||||
|
public LineDashPattern? LineDashPattern { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The cap style to be used for stroked lines.
|
||||||
|
/// </summary>
|
||||||
|
public LineCapStyle LineCapStyle { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The join style to be used for stroked lines.
|
||||||
|
/// </summary>
|
||||||
|
public LineJoinStyle LineJoinStyle { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Set the clipping mode for this path.
|
/// Set the clipping mode for this path.
|
||||||
/// </summary>
|
/// </summary>
|
Reference in New Issue
Block a user