Skip to content
/ JHDraw Public

draw line, draw dash line, draw star, draw rect, draw dash rect, gradientLayer 画线,画虚线,画五角星,画矩形,画虚线矩形,渐变色,椭圆(圆),圆角矩形

License

Notifications You must be signed in to change notification settings

xjh093/JHDraw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JHDraw

draw line, draw dash line, draw star, draw rect, draw dash rect, gradientLayer

  • 画线,画虚线,画五角星,画矩形,画虚线矩形,渐变色,椭圆(圆),圆角矩形

What

image

image

iOS 12:

image

image

more:

image

image

if you want this

layer1.mask = layer2;

layer1: gradientLayer

layer2: round rect


Logs

2020-07-03

1.fix a little bug.

2019-07-15

1.oval & round rect.

2019-04-23

1.gradientLayer in iOS 12.

2019-04-22

1.gradientLayer.

2018-12-12

1.upload.


About

draw line, draw dash line, draw star, draw rect, draw dash rect, gradientLayer 画线,画虚线,画五角星,画矩形,画虚线矩形,渐变色,椭圆(圆),圆角矩形

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published