Skip to content

Add polygon fill color gradient #375

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

Merged
merged 16 commits into from
Sep 3, 2024
Merged

Conversation

asd123a20
Copy link
Contributor

@asd123a20 asd123a20 commented Aug 21, 2024

Description

Add polygon fill color gradient

Motivation and Context

The single color of the filling material cannot meet the requirements

How Has This Been Tested?

Add attribute colorList. If colorListexist, perform a gradient for colorList. Otherwise, use color

Screenshots (if appropriate):

image
image
image
image

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update
  • Tests
  • Other (Tooling, Dependency Updates, etc.)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I added a new test.

If you added a new component feature (layer, geom, source, etc.), please be sure to update the documentation:

  • Add component to output.globals in vite.config.ts
  • Provide at least one simple snapshot test (see test directory)
  • Create a src/demos/<Component>Demo.vue
  • Create a docs/componentsguide/<Category>/<Feature>/index.md containing the Demo and documentation for the component
  • Add the docs page to docs/.vitepress/config.ts

Copy link

netlify bot commented Aug 21, 2024

Deploy Preview for vue3openlayers ready!

Name Link
🔨 Latest commit 98621fb
🔍 Latest deploy log https://app.netlify.com/sites/vue3openlayers/deploys/66d66ce419c6290008c8cfec
😎 Deploy Preview https://deploy-preview-375--vue3openlayers.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@d-koppenhagen
Copy link
Collaborator

Can you please change the issue and description into English language?

@asd123a20 asd123a20 changed the title 增加多边形填充颜色渐变 Add polygon fill color gradient Aug 22, 2024
@asd123a20 asd123a20 marked this pull request as draft August 27, 2024 01:22
Increase radial gradient
Conic gradients are not directly supported by the Canvas API, use a linear gradient as a fallback
@d-koppenhagen d-koppenhagen marked this pull request as ready for review August 29, 2024 06:11
@d-koppenhagen d-koppenhagen merged commit dd2aebd into MelihAltintas:main Sep 3, 2024
4 checks passed
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