< prev index next >
src/java.desktop/share/classes/sun/java2d/SurfaceData.java
Print this page
*** 920,931 ****
public final ColorModel getColorModel() {
return colorModel;
}
/**
! * Returns the type of this <code>Transparency</code>.
! * @return the field type of this <code>Transparency</code>, which is
* either OPAQUE, BITMASK or TRANSLUCENT.
*/
public int getTransparency() {
return getColorModel().getTransparency();
}
--- 920,931 ----
public final ColorModel getColorModel() {
return colorModel;
}
/**
! * Returns the type of this {@code Transparency}.
! * @return the field type of this {@code Transparency}, which is
* either OPAQUE, BITMASK or TRANSLUCENT.
*/
public int getTransparency() {
return getColorModel().getTransparency();
}
< prev index next >