Platforms to show: All Mac Windows Linux Cross-Platform
GMColorMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Example:
dim c as new GMColorMBS(127,255,127) // light green
MsgBox str(c.redQuantum)+" "+str(c.greenQuantum)+" "+str(c.blueQuantum)
- 9 properties
- property alpha as Double
- property alphaQuantum as Integer
- property blueQuantum as Integer
- property colorValue as color
- property greenQuantum as Integer
- property handle as Integer
- property intensity as Double
- property isValid as boolean
- property redQuantum as Integer
- 7 methods
- method Constructor
- method Constructor(ColorName as string)
- method Constructor(ColorValue as color)
- method Constructor(ColorValue as color, alpha as Integer)
- method Constructor(other as GMColorMBS)
- method Constructor(red as Integer, green as Integer, blue as Integer)
- method Constructor(red as Integer, green as Integer, blue as Integer, alpha as Integer)
- 9 shared methods
- shared method Black as GMColorMBS
- shared method Color(ColorValue as Color) as GMColorMBS
- shared method Color(ColorValue as Color, alpha as Integer) as GMColorMBS
- shared method Color(red as integer, green as integer, blue as integer) as GMColorMBS
- shared method Color(red as integer, green as integer, blue as integer, alpha as Integer) as GMColorMBS
- shared method QuantumByteSize as Integer
- shared method scaleDoubleToQuantum(value as Double) as Integer
- shared method scaleQuantumToDouble(value as Integer) as Double
- shared method White as GMColorMBS
Sub classes:
- class GMColorGrayMBS
- class GMColorHSLMBS
- class GMColorMonoMBS
- class GMColorRGBMBS
- class GMColorYUVMBS
Some methods using this class:
- GMColorGrayMBS.Constructor(other as GMColorMBS)
- GMColorMonoMBS.Constructor(other as GMColorMBS)
- GMGraphicsMBS.StrokeColor(c as GMColorMBS)
- GMGraphicsMBS.TextUnderColor(c as GMColorMBS)
- GMImageMBS.colorize(opacity as UInt32, penColor as GMColorMBS)
- GMImageMBS.extent(geo as GMGeometryMBS, backgroundColor as GMColorMBS)
- GMImageMBS.extent(geo as GMGeometryMBS, backgroundColor as GMColorMBS, gravity as Integer)
- GMImageMBS.floodFillColor(point as GMGeometryMBS, fillColor as GMColorMBS, borderColor as GMColorMBS)
- GMImageMBS.floodFillTexture(point as GMGeometryMBS, fillColor as GMColorMBS)
- GMImageMBS.matteFloodfill(target as GMColorMBS, opacity as UInt32, x as Integer, y as Integer, PaintMethod as Integer)
Some properties using for this class:
- GMImageMBS.backgroundColor as GMColorMBS
- GMImageMBS.boxColor as GMColorMBS
- GMImageMBS.fillColor as GMColorMBS
- GMImageMBS.penColor as GMColorMBS
- GMImageMBS.colorMap(index as UInt32) as GMColorMBS
- GMMontageFramedMBS.matteColor as GMColorMBS
- GMMontageMBS.fillColor as GMColorMBS
- GMMontageMBS.penColor as GMColorMBS
- GMMontageMBS.strokeColor as GMColorMBS
- GMMontageMBS.transparentColor as GMColorMBS
Some examples using this class:
Blog Entries
The items on this page are in the following plugins: MBS GraphicsMagick Plugin.
GMColorHSLMBS - GMColorMonoMBS
