Platforms to show: All Mac Windows Linux Cross-Platform
Back to CDAngularMeterMBS class.
CDAngularMeterMBS.setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 15.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The new style pointer cap is a circular object covering the the center of the meter. If is designed to be used with new style pointers (added with AngularMeter.addPointer2). The cap consists of two circles, one at the background below the pointer, and one covering the pointer. The pointer will appear to be sandwiched between these two circles.
Arguments are optional and colors can be passed as Integer or color value.
Argument | Default | Description |
backColor | 0x888888 | The fill color of the back circle. |
frontColor | 0x000000 | The fill color of the front circle. |
frontEdgeColor | 0x888888 | The edge color of the front circle. |
lightingRatio | NoValue | By default, lighting effect is applied to the back circle and the edge of the front circle, such that the bottom-right side will appear to be darkened. This argument configures how bright the bottom-right side is. The default value is 0.2, which means the bottom-right side is 20% as bright as the top-left side. Setting this argument to 1 disables the lighting effect. |
backRadiusRatio | NoValue | The radius of the back circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.15. |
frontRadiusRatio | NoValue | The radius of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.11. |
frontEdgeWidthRatio | NoValue | The edge width of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.01. |
See also:
- setCap2(backcolor as Color = &c888888, frontColor as Color = &c000000, frontEdgeColor as Color = &c888888)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
- setCap2(backcolor as Integer = &h888888, frontColor as Integer = &h000000, frontEdgeColor as Integer = &h888888)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
CDAngularMeterMBS.setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 15.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The new style pointer cap is a circular object covering the the center of the meter. If is designed to be used with new style pointers (added with AngularMeter.addPointer2). The cap consists of two circles, one at the background below the pointer, and one covering the pointer. The pointer will appear to be sandwiched between these two circles.
Arguments are optional and colors can be passed as Integer or color value.
Argument | Default | Description |
backColor | 0x888888 | The fill color of the back circle. |
frontColor | 0x000000 | The fill color of the front circle. |
frontEdgeColor | 0x888888 | The edge color of the front circle. |
lightingRatio | NoValue | By default, lighting effect is applied to the back circle and the edge of the front circle, such that the bottom-right side will appear to be darkened. This argument configures how bright the bottom-right side is. The default value is 0.2, which means the bottom-right side is 20% as bright as the top-left side. Setting this argument to 1 disables the lighting effect. |
backRadiusRatio | NoValue | The radius of the back circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.15. |
frontRadiusRatio | NoValue | The radius of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.11. |
frontEdgeWidthRatio | NoValue | The edge width of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.01. |
See also:
- setCap2(backcolor as Color = &c888888, frontColor as Color = &c000000, frontEdgeColor as Color = &c888888)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
- setCap2(backcolor as Integer = &h888888, frontColor as Integer = &h000000, frontEdgeColor as Integer = &h888888)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
CDAngularMeterMBS.setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 15.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The new style pointer cap is a circular object covering the the center of the meter. If is designed to be used with new style pointers (added with AngularMeter.addPointer2). The cap consists of two circles, one at the background below the pointer, and one covering the pointer. The pointer will appear to be sandwiched between these two circles.
Arguments are optional and colors can be passed as Integer or color value.
Argument | Default | Description |
backColor | 0x888888 | The fill color of the back circle. |
frontColor | 0x000000 | The fill color of the front circle. |
frontEdgeColor | 0x888888 | The edge color of the front circle. |
lightingRatio | NoValue | By default, lighting effect is applied to the back circle and the edge of the front circle, such that the bottom-right side will appear to be darkened. This argument configures how bright the bottom-right side is. The default value is 0.2, which means the bottom-right side is 20% as bright as the top-left side. Setting this argument to 1 disables the lighting effect. |
backRadiusRatio | NoValue | The radius of the back circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.15. |
frontRadiusRatio | NoValue | The radius of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.11. |
frontEdgeWidthRatio | NoValue | The edge width of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.01. |
See also:
- setCap2(backcolor as Color = &c888888, frontColor as Color = &c000000, frontEdgeColor as Color = &c888888)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
- setCap2(backcolor as Integer = &h888888, frontColor as Integer = &h000000, frontEdgeColor as Integer = &h888888)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
CDAngularMeterMBS.setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 15.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The new style pointer cap is a circular object covering the the center of the meter. If is designed to be used with new style pointers (added with AngularMeter.addPointer2). The cap consists of two circles, one at the background below the pointer, and one covering the pointer. The pointer will appear to be sandwiched between these two circles.
Arguments are optional and colors can be passed as Integer or color value.
Argument | Default | Description |
backColor | 0x888888 | The fill color of the back circle. |
frontColor | 0x000000 | The fill color of the front circle. |
frontEdgeColor | 0x888888 | The edge color of the front circle. |
lightingRatio | NoValue | By default, lighting effect is applied to the back circle and the edge of the front circle, such that the bottom-right side will appear to be darkened. This argument configures how bright the bottom-right side is. The default value is 0.2, which means the bottom-right side is 20% as bright as the top-left side. Setting this argument to 1 disables the lighting effect. |
backRadiusRatio | NoValue | The radius of the back circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.15. |
frontRadiusRatio | NoValue | The radius of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.11. |
frontEdgeWidthRatio | NoValue | The edge width of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.01. |
See also:
- setCap2(backcolor as Color = &c888888, frontColor as Color = &c000000, frontEdgeColor as Color = &c888888)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
- setCap2(backcolor as Integer = &h888888, frontColor as Integer = &h000000, frontEdgeColor as Integer = &h888888)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
CDAngularMeterMBS.setCap2(backcolor as Integer = &h888888, frontColor as Integer = &h000000, frontEdgeColor as Integer = &h888888)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 15.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The new style pointer cap is a circular object covering the the center of the meter. If is designed to be used with new style pointers (added with AngularMeter.addPointer2). The cap consists of two circles, one at the background below the pointer, and one covering the pointer. The pointer will appear to be sandwiched between these two circles.
Arguments are optional and colors can be passed as Integer or color value.
Argument | Default | Description |
backColor | 0x888888 | The fill color of the back circle. |
frontColor | 0x000000 | The fill color of the front circle. |
frontEdgeColor | 0x888888 | The edge color of the front circle. |
lightingRatio | NoValue | By default, lighting effect is applied to the back circle and the edge of the front circle, such that the bottom-right side will appear to be darkened. This argument configures how bright the bottom-right side is. The default value is 0.2, which means the bottom-right side is 20% as bright as the top-left side. Setting this argument to 1 disables the lighting effect. |
backRadiusRatio | NoValue | The radius of the back circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.15. |
frontRadiusRatio | NoValue | The radius of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.11. |
frontEdgeWidthRatio | NoValue | The edge width of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.01. |
See also:
- setCap2(backcolor as Color = &c888888, frontColor as Color = &c000000, frontEdgeColor as Color = &c888888)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
CDAngularMeterMBS.setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 15.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The new style pointer cap is a circular object covering the the center of the meter. If is designed to be used with new style pointers (added with AngularMeter.addPointer2). The cap consists of two circles, one at the background below the pointer, and one covering the pointer. The pointer will appear to be sandwiched between these two circles.
Arguments are optional and colors can be passed as Integer or color value.
Argument | Default | Description |
backColor | 0x888888 | The fill color of the back circle. |
frontColor | 0x000000 | The fill color of the front circle. |
frontEdgeColor | 0x888888 | The edge color of the front circle. |
lightingRatio | NoValue | By default, lighting effect is applied to the back circle and the edge of the front circle, such that the bottom-right side will appear to be darkened. This argument configures how bright the bottom-right side is. The default value is 0.2, which means the bottom-right side is 20% as bright as the top-left side. Setting this argument to 1 disables the lighting effect. |
backRadiusRatio | NoValue | The radius of the back circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.15. |
frontRadiusRatio | NoValue | The radius of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.11. |
frontEdgeWidthRatio | NoValue | The edge width of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.01. |
See also:
- setCap2(backcolor as Color = &c888888, frontColor as Color = &c000000, frontEdgeColor as Color = &c888888)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
- setCap2(backcolor as Integer = &h888888, frontColor as Integer = &h000000, frontEdgeColor as Integer = &h888888)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
CDAngularMeterMBS.setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 15.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The new style pointer cap is a circular object covering the the center of the meter. If is designed to be used with new style pointers (added with AngularMeter.addPointer2). The cap consists of two circles, one at the background below the pointer, and one covering the pointer. The pointer will appear to be sandwiched between these two circles.
Arguments are optional and colors can be passed as Integer or color value.
Argument | Default | Description |
backColor | 0x888888 | The fill color of the back circle. |
frontColor | 0x000000 | The fill color of the front circle. |
frontEdgeColor | 0x888888 | The edge color of the front circle. |
lightingRatio | NoValue | By default, lighting effect is applied to the back circle and the edge of the front circle, such that the bottom-right side will appear to be darkened. This argument configures how bright the bottom-right side is. The default value is 0.2, which means the bottom-right side is 20% as bright as the top-left side. Setting this argument to 1 disables the lighting effect. |
backRadiusRatio | NoValue | The radius of the back circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.15. |
frontRadiusRatio | NoValue | The radius of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.11. |
frontEdgeWidthRatio | NoValue | The edge width of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.01. |
See also:
- setCap2(backcolor as Color = &c888888, frontColor as Color = &c000000, frontEdgeColor as Color = &c888888)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
- setCap2(backcolor as Integer = &h888888, frontColor as Integer = &h000000, frontEdgeColor as Integer = &h888888)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
CDAngularMeterMBS.setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 15.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The new style pointer cap is a circular object covering the the center of the meter. If is designed to be used with new style pointers (added with AngularMeter.addPointer2). The cap consists of two circles, one at the background below the pointer, and one covering the pointer. The pointer will appear to be sandwiched between these two circles.
Arguments are optional and colors can be passed as Integer or color value.
Argument | Default | Description |
backColor | 0x888888 | The fill color of the back circle. |
frontColor | 0x000000 | The fill color of the front circle. |
frontEdgeColor | 0x888888 | The edge color of the front circle. |
lightingRatio | NoValue | By default, lighting effect is applied to the back circle and the edge of the front circle, such that the bottom-right side will appear to be darkened. This argument configures how bright the bottom-right side is. The default value is 0.2, which means the bottom-right side is 20% as bright as the top-left side. Setting this argument to 1 disables the lighting effect. |
backRadiusRatio | NoValue | The radius of the back circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.15. |
frontRadiusRatio | NoValue | The radius of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.11. |
frontEdgeWidthRatio | NoValue | The edge width of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.01. |
See also:
- setCap2(backcolor as Color = &c888888, frontColor as Color = &c000000, frontEdgeColor as Color = &c888888)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
- setCap2(backcolor as Integer = &h888888, frontColor as Integer = &h000000, frontEdgeColor as Integer = &h888888)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
CDAngularMeterMBS.setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 15.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The new style pointer cap is a circular object covering the the center of the meter. If is designed to be used with new style pointers (added with AngularMeter.addPointer2). The cap consists of two circles, one at the background below the pointer, and one covering the pointer. The pointer will appear to be sandwiched between these two circles.
Arguments are optional and colors can be passed as Integer or color value.
Argument | Default | Description |
backColor | 0x888888 | The fill color of the back circle. |
frontColor | 0x000000 | The fill color of the front circle. |
frontEdgeColor | 0x888888 | The edge color of the front circle. |
lightingRatio | NoValue | By default, lighting effect is applied to the back circle and the edge of the front circle, such that the bottom-right side will appear to be darkened. This argument configures how bright the bottom-right side is. The default value is 0.2, which means the bottom-right side is 20% as bright as the top-left side. Setting this argument to 1 disables the lighting effect. |
backRadiusRatio | NoValue | The radius of the back circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.15. |
frontRadiusRatio | NoValue | The radius of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.11. |
frontEdgeWidthRatio | NoValue | The edge width of the front circle, expressed as a ratio to the meter scale radius (set with AngularMeter.setMeter). The default is 0.01. |
See also:
- setCap2(backcolor as Color = &c888888, frontColor as Color = &c000000, frontEdgeColor as Color = &c888888)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
- setCap2(backcolor as Color, frontColor as Color, frontEdgeColor as Color, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double, frontEdgeWidthRatio as Double)
- setCap2(backcolor as Integer = &h888888, frontColor as Integer = &h000000, frontEdgeColor as Integer = &h888888)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double)
- setCap2(backcolor as Integer, frontColor as Integer, frontEdgeColor as Integer, lightingRatio as Double, backRadiusRatio as Double, frontRadiusRatio as Double)
CDAngularMeterMBS.setMeter(cx as Integer, cy as Integer, radius as Integer, startAngle as Double, endAngle as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Parameter | Default | Description |
cx | (Mandatory) | The x-coordinate of the center of the meter. |
cy | (Mandatory) | The y-coordinate of the center of the meter. |
radius | (Mandatory) | The radius of the meter. |
startAngle | (Mandatory) | The start angle of the meter. The angle is measured in degrees clockwise, with 0 being the upward pointing direction. |
endAngle | (Mandatory) | The end angle of the meter. The angle is measured in degrees clockwise, with 0 being the upward pointing direction. |
The items on this page are in the following plugins: MBS ChartDirector Plugin.