Add CurrentClippingPath to CurrentGraphicsState

This commit is contained in:
BobLd
2020-04-02 16:44:41 +01:00
committed by Eliot Jones
parent 83ef10ec22
commit 5eb2cc507e

View File

@@ -13,6 +13,11 @@ namespace UglyToad.PdfPig.Graphics
/// </remarks>
public class CurrentGraphicsState : IDeepCloneable<CurrentGraphicsState>
{
/// <summary>
/// The current clipping path.
/// </summary>
public PdfPath CurrentClippingPath { get; set; }
/// <summary>
/// The <see cref="CurrentFontState"/> for this graphics state.
/// </summary>
@@ -131,7 +136,8 @@ namespace UglyToad.PdfPig.Graphics
Smoothness = Smoothness,
StrokeAdjustment = StrokeAdjustment,
CurrentStrokingColor = CurrentStrokingColor,
CurrentNonStrokingColor = CurrentNonStrokingColor
CurrentNonStrokingColor = CurrentNonStrokingColor,
CurrentClippingPath = CurrentClippingPath
};
}
}