Codota Logo
PNGEncodeParam$Gray.getTransparentGray
Code IndexAdd Codota to your IDE (free)

How to use
getTransparentGray
method
in
org.apache.batik.ext.awt.image.codec.png.PNGEncodeParam$Gray

Best Java code snippets using org.apache.batik.ext.awt.image.codec.png.PNGEncodeParam$Gray.getTransparentGray (Showing top 4 results out of 315)

  • Common ways to obtain PNGEncodeParam$Gray
private void myMethod () {
PNGEncodeParam$Gray p =
  • Codota Iconnew PNGEncodeParam.Gray()
  • Smart code suggestions by Codota
}
origin: org.apache.xmlgraphics/batik-codec

  int t = ((PNGEncodeParam.Gray)param).getTransparentGray();
  cs.writeShort(t);
} else if (param instanceof PNGEncodeParam.RGB) {
origin: liuyueyi/quick-media

  int t = ((PNGEncodeParam.Gray)param).getTransparentGray();
  cs.writeShort(t);
} else if (param instanceof PNGEncodeParam.RGB) {
origin: fr.avianey.apache-xmlgraphics/batik

  int t = ((PNGEncodeParam.Gray)param).getTransparentGray();
  cs.writeShort(t);
} else if (param instanceof PNGEncodeParam.RGB) {
origin: apache/batik

  int t = ((PNGEncodeParam.Gray)param).getTransparentGray();
  cs.writeShort(t);
} else if (param instanceof PNGEncodeParam.RGB) {
org.apache.batik.ext.awt.image.codec.pngPNGEncodeParam$GraygetTransparentGray

Javadoc

Returns the gray value to be used to denote transparency.

If the transparent gray value has not previously been set, or has been unset, an IllegalStateException will be thrown.

Popular methods of PNGEncodeParam$Gray

  • <init>
    Constructs an instance of PNGEncodeParam.Gray.
  • getBackgroundGray
    Returns the suggested gray level of the background. If the background gray level has not previously
  • getBitDepth
  • getBitShift
    Returns the desired bit shift for a grayscale image. If the bit shift has not previously been set, o
  • isBitDepthSet
    Returns true if the bit depth has been set.
  • isBitShiftSet
    Returns true if the bit shift has been set.
  • setBackgroundGray
    Sets the suggested gray level of the background. The 'bKGD' chunk will encode this information.
  • setTransparentGray
    Sets the gray value to be used to denote transparency. Setting this attribute will cause the alpha c

Popular in Java

  • Running tasks concurrently on multiple threads
  • addToBackStack (FragmentTransaction)
  • setContentView (Activity)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now