Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support of text stroke #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add support of text stroke #18

wants to merge 1 commit into from

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.

1 participant