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

feat(point): Intent to ship point.radialGradient #3408

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

netil
Copy link
Member

@netil netil commented Sep 7, 2023

Issue

#3405

Details

Implement point.radialGradient option

point: {
  // apply radial gradient with default value
  radialGradient: true,

  // or apply radial gradient with customized value
  radialGradient: {
     cx: 0.5,
     cy: 0.5,
     r: 0.5,
	stops: [
	  [0.3, "#fff", 0.8],
	  [0.6, function(id) { return id === "data1" ? this.color(id) : "green"; }, 0.35],
	  [1, null, 1]
	]
  }
}
image

Implement point.radialGradient option

Ref naver#3405
@netil netil added the feature label Sep 7, 2023
@netil netil self-assigned this Sep 7, 2023
@netil netil merged commit 7b51fd6 into naver:master Sep 7, 2023
10 checks passed
@netil netil deleted the pointGradient#3405 branch September 8, 2023 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant