public class CGBitmapContext extends CGContext
Modifier and Type | Method and Description |
---|---|
static CGBitmapContext |
create(byte[] data,
int width,
int height,
int bitsPerComponent,
int bytesPerRow,
CGColorSpace colorspace,
int CGBitmapInfo)
Constructs an CGBitmapContext with the specified parameter values.
|
byte[] |
getData()
Returns pointer to the image data of this CGBitmapContext.
|
addArc, addArcToPoint, addCurveToPoint, addLines, addLineToPoint, addPath, addQuadCurveToPoint, addRect, addRects, beginPath, clip, clipToRect, closePath, concatCTM, drawImage, drawLinearGradient, drawPath, drawRadialGradient, fillEllipseInRect, fillPath, fillRect, getClipBoundingBox, getCTM, getTextPosition, moveToPoint, restoreGState, rotateCTM, saveGState, scaleCTM, selectFont, setAlpha, setFillColor, setFillColorSpace, setFillColorWithColor, setFont, setFontSize, setLineCap, setLineJoin, setLineWidth, setRGBFillColor, setRGBStrokeColor, setShadowWithColor, setShouldAntialias, setStrokeColor, setStrokeColorSpace, setStrokeColorWithColor, setTextDrawingMode, setTextMatrix, setTextPosition, showText, showTextAtPoint, strokeEllipseInRect, strokeLineSegments, strokePath, strokeRect, translateCTM
public static CGBitmapContext create(byte[] data, int width, int height, int bitsPerComponent, int bytesPerRow, CGColorSpace colorspace, int CGBitmapInfo)
data
- The render byte array of this CGBitmapContext.width
- The width of the imageheight
- The height of the imagebitsPerComponent
- The bits per component.bytesPerRow
- The number of bytes per row.colorspace
- The color space.CGBitmapInfo
- Configuration options.CGBitmapInfo
public byte[] getData()
Copyright © 2020. All rights reserved.