Skip to content

Conversation

@Abbasov-Ruslan
Copy link

Add fill and stroke support for labels

@Abbasov-Ruslan Abbasov-Ruslan requested a review from ystrot July 1, 2022 08:08
feature(label stroke): add stroke for simple colours, need to fix gradient colors

# Conflicts:
#	Source/Model/Nodes/SVGText.swift

code refactoring, need to fix position for plain stroke labels

# Conflicts:
#	Source/Model/Nodes/SVGText.swift

chagne stroke width to ratio of font size, add getFont method

change plain stroke label frame

code refactoring

add all in one, stoke and fill case

add locations to gradient funcs

add macOS support

fix position change bug, change getLabelSize to getHeightOfLabel

fix bug with background for filled label

change Linear Gradient alignmentGuide, fix bounds for stroke label and stroke gradient

change position code of gradient and stroke labels, fix decreasing height of stroke label bug

code refactoring

fix position for OSX and ios

Add radial gradient support for iOS and OSX

code refactoring

change tabs to 4 spaces

code refactoring

code refactoring

refactoring: fix createOneColorStrokeLabel

fix createGradientStrokeLabel

fix createFillGradientLabel

fix createRadialGradientStrokeLabel and createRadialGradientFillLabel

fix createOneColorFillLabel, codestyle fix

delete getLabelHeight, leave only one version of SVGGUITextView

add getStrokeBounds func

code refactoring

fix codestyle

fix bugs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants