PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.images.masks Package / PDFSoftMask Class / PDFSoftMask Constructor
A grayscale image that represents the soft mask.
Collapse All Expand All
In This Topic

PDFSoftMask Constructor
In This Topic
Initializes a new PDFSoftMask object.
Syntax

    public PDFSoftMask(
       PDFImage sourceImage
    )

#### Parameters

sourceImage
  A grayscale image that represents the soft mask.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When sourceImage is null or it is not a gray 8bpc image.

See Also

#### Reference

PDFSoftMask Class
PDFSoftMask Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.