Skip to main content
Known Participant
Jun 17, 2024 8:04 AM UTC
Open for Voting

add "setStyle" expression in texts

 

setStyle(styleObject, from, length)

 

 

this function will go over all the supported properties of the style object and set them to the target style.

thus we will not need to get the fontSize, fontColor, font, etc... from the source style and apply them with setFontSize, setFillColor, setFont, etc... to the target style. it will be avilable in a single expression function