Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSTextBlockMBS class.
NSTextBlockMBS.borderColor(edge as Integer) as NSColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacBase Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
edge: The edge of the text block in question.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacBase Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
NSTextBlockMBS.copy as NSTextBlockMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacBase Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
NSTextBlockMBS.setBorderColor(color as NSColorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacBase Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This setting has no visible effect unless the border width is larger than the default, which is 0.
See also:
NSTextBlockMBS.setBorderColor(color as NSColorMBS, edge as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacBase Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
color: The new color.
edge: The edge whose color is to be set.
This setting has no visible effect unless the border width is larger than the default, which is 0.
See also:
NSTextBlockMBS.setContentWidth(value as double, ValueType as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacBase Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
value: The new value for the width.
ValueType: The type of value being provided. This controls how val is interpreted.
NSTextBlockMBS.setValue(value as double, ValueType as Integer, dimension as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacBase Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
value: The new value for the dimension.
ValueType: The type of value being provided. This controls how value is interpreted.
dimension: The dimension to set.
NSTextBlockMBS.setWidth(value as double, ValueType as Integer, Layer as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacBase Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
value: The new value for the specified edge width.
type: The type of value being provided. This controls how val is interpreted.
layer: The layer of the text block to modify.
See also:
NSTextBlockMBS.setWidth(value as double, ValueType as Integer, Layer as Integer, edge as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacBase Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
value: The new value for the specified edge width.
type: The type of value being provided. This controls how val is interpreted.
layer: The layer of the text block to modify.
edge: The edge of the layer to examine.
See also:
NSTextBlockMBS.valueForDimension(dimension as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacBase Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The value for the specified dimension. This value should be interpreted according to the value type returned by valueTypeForDimension.
NSTextBlockMBS.valueTypeForDimension(dimension as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacBase Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The value type for the specified text block dimension. This result determines how the value for the dimension should be interpreted.
NSTextBlockMBS.width(layer as Integer, edge as Integer) as double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacBase Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
layer: The layer to examine.
edge: The edge of the layer to examine.
Returns The width of the edge of layer. This value must be interpreted according to the value type returned by widthValueTypeForLayer().
NSTextBlockMBS.widthValueType(layer as Integer, edge as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacBase Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
layer: The layer to examine.
edge: The edge of the layer to examine.
Returns the value type of the edge of layer. This determines how the value for this edge of layer should be interpreted.
The items on this page are in the following plugins: MBS MacBase Plugin.
