Package io.gitlab.pixelGraphics.twoDimGraphics

Types

AntiAliasType
Link copied to clipboard
common
enum AntiAliasType : Enum<AntiAliasType>
Specifies the type of antialiasing to do when rendering text or shapes.
Canvas
Link copied to clipboard
common
class Canvas : Closable
Provides 2D (two dimensional) graphics drawing functionality that is applied to a Surface.
class Canvas : Closable
class Canvas : Closable
Closable
Link copied to clipboard
common
interface Closable
FillExtentsResult
Link copied to clipboard
common
data class FillExtentsResult(x1: Double, y1: Double, x2: Double, y2: Double)
Provides the result of the fillExtents function from Canvas.
FillRule
Link copied to clipboard
common
enum FillRule : Enum<FillRule>
Used to select how paths are filled.
LineCap
Link copied to clipboard
common
enum LineCap : Enum<LineCap>
Specifies how to render the endpoints of the path when stroking.
LineJoin
Link copied to clipboard
common
enum LineJoin : Enum<LineJoin>
Specifies how to render the junction of two lines when stroking.
Path
Link copied to clipboard
common
class Path(canvas: Canvas)
Creates paths, and manipulates path data.
class Path(canvas: Canvas)
class Path(canvas: Canvas)
StrokeExtentsResult
Link copied to clipboard
common
data class StrokeExtentsResult(x1: Double, y1: Double, x2: Double, y2: Double)
Provides the result of the strokeExtents function from Canvas.
SubPixelOrder
Link copied to clipboard
common
enum SubPixelOrder : Enum<SubPixelOrder>
The sub pixel order specifies the order of color elements within each pixel on the display device when rendering with an anti aliasing mode of AntiAliasType.SUBPIXEL.

Functions

fetchSupportedVersions
Link copied to clipboard
linuxArm32
fun fetchSupportedVersions(): Array<_cairo_pdf_version>
Used to retrieve the list of supported versions.
linuxX64
fun fetchSupportedVersions(): Array<_cairo_pdf_version>
Used to retrieve the list of supported versions.
pdfVersionToString
Link copied to clipboard
linuxArm32
fun pdfVersionToString(version: _cairo_pdf_version): String
Gets the String representation of the given version ID.
linuxX64
fun pdfVersionToString(version: _cairo_pdf_version): String
Gets the String representation of the given version ID.
statusCodeToString
Link copied to clipboard
common
fun statusCodeToString(statusCode: UInt): String
Converts the status code into a readable String.
fun statusCodeToString(statusCode: UInt): String
fun statusCodeToString(statusCode: UInt): String
surfaceStatusCode
Link copied to clipboard
common
fun surfaceStatusCode(surface: Surface): UInt
Fetches the status code for the surface.
fun surfaceStatusCode(surface: Surface): UInt
fun surfaceStatusCode(surface: Surface): UInt