Ejemplo n.º 1
0
 /** @since Available in iOS 8.0 and later. */
 public boolean isAlphaChannelOpaque() {
   if (has(CVImageBufferAttribute.AlphaChannelIsOpaque)) {
     CFBoolean val = get(CVImageBufferAttribute.AlphaChannelIsOpaque, CFBoolean.class);
     return val.booleanValue();
   }
   return false;
 }
Ejemplo n.º 2
0
 /** @since Available in iOS 8.0 and later. */
 public CVImageBufferAttributes setAlphaChannelOpaque(boolean alphaChannelOpaque) {
   set(CVImageBufferAttribute.AlphaChannelIsOpaque, CFBoolean.valueOf(alphaChannelOpaque));
   return this;
 }