diff --git a/src/UglyToad.PdfPig/Graphics/CurrentGraphicsState.cs b/src/UglyToad.PdfPig/Graphics/CurrentGraphicsState.cs index 223babbc..650a207b 100644 --- a/src/UglyToad.PdfPig/Graphics/CurrentGraphicsState.cs +++ b/src/UglyToad.PdfPig/Graphics/CurrentGraphicsState.cs @@ -13,6 +13,11 @@ namespace UglyToad.PdfPig.Graphics /// public class CurrentGraphicsState : IDeepCloneable { + /// + /// The current clipping path. + /// + public PdfPath CurrentClippingPath { get; set; } + /// /// The for this graphics state. /// @@ -131,7 +136,8 @@ namespace UglyToad.PdfPig.Graphics Smoothness = Smoothness, StrokeAdjustment = StrokeAdjustment, CurrentStrokingColor = CurrentStrokingColor, - CurrentNonStrokingColor = CurrentNonStrokingColor + CurrentNonStrokingColor = CurrentNonStrokingColor, + CurrentClippingPath = CurrentClippingPath }; } }