类 BufferedImageLuminanceSource
- java.lang.Object
-
- com.google.zxing.LuminanceSource
-
- cn.t.util.media.code.zxing.BufferedImageLuminanceSource
-
public class BufferedImageLuminanceSource extends com.google.zxing.LuminanceSource
-
-
构造器概要
构造器 构造器 说明 BufferedImageLuminanceSource(BufferedImage image)BufferedImageLuminanceSource(BufferedImage image, int left, int top, int width, int height)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 com.google.zxing.LuminanceSourcecrop(int left, int top, int width, int height)byte[]getMatrix()byte[]getRow(int y, byte[] row)booleanisCropSupported()booleanisRotateSupported()This is always true, since the image is a gray-scale image.com.google.zxing.LuminanceSourcerotateCounterClockwise()com.google.zxing.LuminanceSourcerotateCounterClockwise45()
-
-
-
构造器详细资料
-
BufferedImageLuminanceSource
public BufferedImageLuminanceSource(BufferedImage image)
-
BufferedImageLuminanceSource
public BufferedImageLuminanceSource(BufferedImage image, int left, int top, int width, int height)
-
-
方法详细资料
-
getRow
public byte[] getRow(int y, byte[] row)- 指定者:
getRow在类中com.google.zxing.LuminanceSource
-
getMatrix
public byte[] getMatrix()
- 指定者:
getMatrix在类中com.google.zxing.LuminanceSource
-
isCropSupported
public boolean isCropSupported()
- 覆盖:
isCropSupported在类中com.google.zxing.LuminanceSource
-
crop
public com.google.zxing.LuminanceSource crop(int left, int top, int width, int height)- 覆盖:
crop在类中com.google.zxing.LuminanceSource
-
isRotateSupported
public boolean isRotateSupported()
This is always true, since the image is a gray-scale image.- 覆盖:
isRotateSupported在类中com.google.zxing.LuminanceSource- 返回:
- true
-
rotateCounterClockwise
public com.google.zxing.LuminanceSource rotateCounterClockwise()
- 覆盖:
rotateCounterClockwise在类中com.google.zxing.LuminanceSource
-
rotateCounterClockwise45
public com.google.zxing.LuminanceSource rotateCounterClockwise45()
- 覆盖:
rotateCounterClockwise45在类中com.google.zxing.LuminanceSource
-
-