Platforms to show: All Mac Windows Linux Cross-Platform
CDMarkMBS class
Super class: CDTextBoxMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | ChartDirector | MBS ChartDirector Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Subclass of the CDTextBoxMBS class.
This is a subclass of an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 6 methods
- method getLine as CDLineObjMBS
- method setDrawOnTop(b as boolean)
- method setLineWidth(width as Integer)
- method setMarkColor(lineColor as color, textColor as color, tickColor as color)
- method setMarkColor(lineColor as Integer, textColor as Integer = -1, tickColor as Integer = -1)
- method setValue(value as Double)
Super class CDTextBoxMBS
- 13 methods
- method setAlignment(a as Integer)
- method setFontAngle(angle as Double, vertical as boolean=false)
- method setFontColor(colorvalue as color)
- method setFontColor(colorvalue as Integer)
- method setFontSize(fontHeight as Double, fontWidth as Double = 0)
- method setFontStyle(font as string, fontIndex as Integer = 0)
- method setHeight(height as Integer)
- method setMargin(leftMargin as Integer, rightMargin as Integer, topMargin as Integer, bottomMargin as Integer)
- method setMargin(m as Integer)
- method setMaxWidth(width as Integer)
- method setText(text as string)
- method setTruncate(maxWidth as Integer, maxLines as Integer = 1)
- method setWidth(width as Integer)
Super class CDBoxMBS
- 11 methods
- method Constructor Private
- method getHeight as Integer
- method getImageCoor(OffsetX as Integer = 0, OffsetY as Integer = 0) as string
- method getLeftX as Integer
- method getTopY as Integer
- method getWidth as Integer
- method setBackground(colorvalue as color, edgeColor as color, raisedEffect as Integer = 0)
- method setBackground(colorvalue as Integer, edgeColor as Integer = -1, raisedEffect as Integer = 0)
- method setPos(x as Integer, y as Integer)
- method setRoundedCorners(r1 as Integer = 10, r2 as Integer = -1, r3 as Integer = -1, r4 as Integer = -1)
- method setSize(w as Integer, h as Integer)
Super class CDDrawObjMBS
- 3 methods
- method Constructor Private
- method paint(d as CDDrawAreaMBS)
- method setZOrder(z as Integer)
This class has no sub classes.
Some methods using this class:
- CDAxisMBS.addMark(value as Double, lineColor as color, text as string = "", font as string = "", fontsize as Double = 8) as CDMarkMBS
- CDAxisMBS.addMark(value as Double, lineColor as Integer, text as string = "", font as string = "", fontsize as Double = 8) as CDMarkMBS
- CDContourLayerMBS.addCustomContour(z as double, contourColor as Integer, contourWidth as Integer, contourLabel as string, font as string = "normal", fontsize as double = 12, fontColor as integer = &hffff0002) as CDMarkMBS
Some examples using this class:
- /ChartDirector/High Resolution Chart Examples/linefill
- /ChartDirector/linefill
- /ChartDirector/markzone2
Xojo Developer Magazine
The items on this page are in the following plugins: MBS ChartDirector Plugin.
CDLineObjMBS - CDMeterPointerMBS