Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Queries style information as JSON.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Text | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Text | The styled text to check. | "Hello World" |
Returns JSON or error.
Check some text:
MBS("Text.Styles"; TextColor ( "Hello" ; RGB ( 255 ; 0 ; 0 ) ))
Example result:
[{
"hasColor": true,
"color": 16711680,
"colorHex": "FF0000",
"red": 255,
"green": 0,
"blue": 0,
"alpha": 255,
"hasFont": false,
"hasSize": false,
"hasFace": false
}]
This function checks for a license.
Created 9th July 2019, last changed 22nd June 2021