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