Package com.pdftools.toolbox.pdf.content
Class Transparency
- java.lang.Object
-
- com.pdftools.toolbox.internal.NativeBase
-
- com.pdftools.toolbox.internal.NativeObject
-
- com.pdftools.toolbox.pdf.content.Transparency
-
public class Transparency extends NativeObject
-
-
Constructor Summary
Constructors Constructor Description Transparency(double alpha)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAlpha()BlendModegetBlendMode()voidsetAlpha(double value)voidsetBlendMode(BlendMode value)-
Methods inherited from class com.pdftools.toolbox.internal.NativeObject
equals, hashCode
-
-
-
-
Method Detail
-
getBlendMode
public BlendMode getBlendMode()
-
setBlendMode
public void setBlendMode(BlendMode value)
- Throws:
java.lang.IllegalArgumentException- ifvalueisnull
-
getAlpha
public double getAlpha()
-
setAlpha
public void setAlpha(double value)
- Throws:
java.lang.IllegalArgumentException- if the given value smaller than 0.0 or greater than 1.0.
-
-