PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFMarkupAnnotation Class / setOpacity Method
A value in the range [0, 1] that represents the constant opacity value to be used in painting the annotation.
Collapse All Expand All
In This Topic

setOpacity Method
In This Topic
Sets the annotation opacity.
Syntax

    public void setOpacity(
       double opacity
    )

#### Parameters

opacity
  A value in the range [0, 1] that represents the constant opacity value to be used in painting the annotation.

See Also

#### Reference

PDFMarkupAnnotation Class
PDFMarkupAnnotation Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.