mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-18 18:27:55 +08:00
Handle null CurrentPath
This commit is contained in:
@@ -568,6 +568,11 @@
|
||||
|
||||
public void ModifyClippingIntersect(ClippingRule clippingRule)
|
||||
{
|
||||
if (CurrentPath == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
CurrentPath.SetClipping(clippingRule);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user