Constructor and Description |
---|
Picture(int width,
int height,
byte[][] data,
byte[][] lowBits,
ColorSpace color,
int lowBitsNum,
Rect crop) |
Modifier and Type | Method and Description |
---|---|
Picture |
cloneCropped()
Creates a cropped clone of this picture.
|
boolean |
compatible(Picture src) |
void |
copyFrom(Picture src) |
static Picture |
copyPicture(Picture other) |
static Picture |
create(int width,
int height,
ColorSpace colorSpace) |
Picture |
createCompatible() |
static Picture |
createCropped(int width,
int height,
ColorSpace colorSpace,
Rect crop) |
static Picture |
createCroppedHiBD(int width,
int height,
int lowBitsNum,
ColorSpace colorSpace,
Rect crop) |
static Picture |
createPicture(int width,
int height,
byte[][] data,
ColorSpace color) |
static Picture |
createPictureHiBD(int width,
int height,
byte[][] data,
byte[][] lowBits,
ColorSpace color,
int lowBitsNum) |
protected boolean |
cropNeeded() |
Picture |
cropped() |
boolean |
equals(Object obj) |
void |
fill(int val) |
static Picture |
fromPictureHiBD(PictureHiBD pic) |
ColorSpace |
getColor() |
Rect |
getCrop() |
int |
getCroppedHeight() |
int |
getCroppedWidth() |
byte[][] |
getData() |
int |
getHeight() |
byte[][] |
getLowBits() |
int |
getLowBitsNum() |
byte[] |
getPlaneData(int plane) |
int |
getPlaneHeight(int plane) |
int |
getPlaneWidth(int plane) |
Size |
getSize() |
int |
getStartX() |
int |
getStartY() |
int |
getWidth() |
boolean |
isHiBD() |
void |
setCrop(Rect crop) |
PictureHiBD |
toPictureHiBD() |
PictureHiBD |
toPictureHiBDWithBuffer(int[][] buffer) |
public Picture(int width, int height, byte[][] data, byte[][] lowBits, ColorSpace color, int lowBitsNum, Rect crop)
public static Picture createPicture(int width, int height, byte[][] data, ColorSpace color)
public static Picture createPictureHiBD(int width, int height, byte[][] data, byte[][] lowBits, ColorSpace color, int lowBitsNum)
public static Picture create(int width, int height, ColorSpace colorSpace)
public static Picture createCropped(int width, int height, ColorSpace colorSpace, Rect crop)
public static Picture createCroppedHiBD(int width, int height, int lowBitsNum, ColorSpace colorSpace, Rect crop)
public int getWidth()
public int getHeight()
public byte[] getPlaneData(int plane)
public ColorSpace getColor()
public byte[][] getData()
public byte[][] getLowBits()
public Rect getCrop()
public int getPlaneWidth(int plane)
public int getPlaneHeight(int plane)
public boolean compatible(Picture src)
public Picture createCompatible()
public void copyFrom(Picture src)
public Picture cloneCropped()
public Picture cropped()
protected boolean cropNeeded()
public void setCrop(Rect crop)
public int getCroppedWidth()
public int getCroppedHeight()
public int getLowBitsNum()
public static Picture fromPictureHiBD(PictureHiBD pic)
public PictureHiBD toPictureHiBD()
public PictureHiBD toPictureHiBDWithBuffer(int[][] buffer)
public void fill(int val)
public int getStartX()
public int getStartY()
public boolean isHiBD()
public Size getSize()
Copyright © 2019. All rights reserved.