public class CaptureShare
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static interface |
CaptureShare.ScreenShotListener |
构造器和说明 |
---|
CaptureShare(android.content.Context context) |
限定符和类型 | 方法和说明 |
---|---|
static android.graphics.Bitmap |
captureWithoutStatusbar(java.lang.String capturePath)
得到没有状态栏的截图
|
static void |
deleteCachePictures()
删除缓存图片
|
void |
end() |
static java.lang.String |
getNameNotDelete() |
static android.graphics.Bitmap |
getRoundRectBitmap(android.graphics.Bitmap target,
int radius) |
static void |
makeWaterMark(android.graphics.Bitmap source)
为图片打上水印
|
static java.lang.String |
saveBitmap(android.graphics.Bitmap bitmap) |
static java.lang.String |
saveBitmap(android.graphics.Bitmap bitmap,
boolean deleteOnExist) |
void |
start(CaptureShare.ScreenShotListener listener) |
public void start(CaptureShare.ScreenShotListener listener)
public void end()
public static android.graphics.Bitmap getRoundRectBitmap(android.graphics.Bitmap target, int radius)
public static android.graphics.Bitmap captureWithoutStatusbar(java.lang.String capturePath)
capturePath
- 截图路径public static void makeWaterMark(android.graphics.Bitmap source)
source
- public static java.lang.String saveBitmap(android.graphics.Bitmap bitmap, boolean deleteOnExist)
public static java.lang.String saveBitmap(android.graphics.Bitmap bitmap)
public static java.lang.String getNameNotDelete()
public static void deleteCachePictures()