Class PDSoftMask

    • Constructor Detail

      • PDSoftMask

        public PDSoftMask​(COSDictionary dictionary)
        Creates a new soft mask.
    • Method Detail

      • create

        public static PDSoftMask create​(COSBase dictionary)
        Creates a new soft mask.
        Parameters:
        dictionary - SMask
      • getCOSObject

        public COSDictionary getCOSObject()
        Description copied from interface: COSObjectable
        Convert this standard java object to a COS object.
        Specified by:
        getCOSObject in interface COSObjectable
        Returns:
        The cos object that matches this Java object.
      • getSubType

        public COSName getSubType()
        Returns the subtype of the soft mask (Alpha, Luminosity) - S entry
      • getGroup

        public PDFormXObject getGroup()
                               throws IOException
        Returns the G entry of the soft mask object
        Returns:
        form containing the transparency group
        Throws:
        IOException
      • getBackdropColor

        public COSArray getBackdropColor()
        Returns the backdrop color.