Structures
The following structures are available globally.
-
Undocumented
See moreDeclaration
Swift
public struct Color : Equatable
-
Undocumented
See moreDeclaration
Swift
public struct Colors
-
Describes pixel dimensions and encoding.
Bitmap,Image,Pixmap, andSurfacecan be created fromImageInfo.ImageInfocan be retrieved fromBitmapandPixmap, but not fromImageandSurface. For example,ImageandSurfaceimplementations may defer pixel depth, so may not completely specifyImageInfo.
See moreImageInfocontains dimensions, the pixel integral width and height. It encodes how pixel bits describe alpha, transparency; color components red, blue, and green; andColorSpace, the range and linearity of colors.Declaration
Swift
public struct ImageInfo
-
Undocumented
See moreDeclaration
Swift
public struct Point : Equatable -
Undocumented
See moreDeclaration
Swift
public struct IPoint : Equatable -
Undocumented
See moreDeclaration
Swift
public struct Rect : Equatable -
Undocumented
See moreDeclaration
Swift
public struct IRect : Equatable -
Undocumented
See moreDeclaration
Swift
public struct Size : Equatable -
Undocumented
See moreDeclaration
Swift
public struct ISize : Equatable
-
Matrixholds a 3x3 matrix for transforming coordinates. This allows mappingPointand vectors with translation, scaling, skewing, rotation, and perspective.Matrixelements are in row major order.Matrixdoes not have a constructor, so it must be explicitly initialized. setIdentity() initializesMatrixso it has no effect. setTranslate(), setScale(), setew(), setRotate(), set9 and setAll() initializes allMatrixelements with the corresponding mapping.Matrixincludes a hidden variable that classifies the type of matrix to improve performance.Matrixis not thread safe unless getType() is called first.You can either create the matrix by using one of the constuctors, or using some of the convenience static methods that start with
See moremakeDeclaration
Swift
public struct Matrix
View on GitHub
Install in Dash
Structures Reference