Comments (1)
I've split this issue into two tickets:
Most UI framework doesn't have separate effects for Offset, GaussianBlur and ColorMatrix. Instead they have direct drop shadow support. I think we need to recognize patterns used by SVG to imitate shadow and convert them to DropShadow effect. For example, we can provide effect from the description using following code:
node.effect = DropShadow(radius: 10, offset: Point(2, 2), color: Color.rgba(0, 0, 0, 0.6))
from macaw.
Related Issues (20)
- Coloring Paths style:fill
- .onTouchPressed registering multiple touches when pressed only once HOT 1
- Is it only by "id"
- Unable To Install app - ERR: SWXMLHash.framework/Info.plist: No such file or directory
- Occasional SVG parsing error. Shape Error not supported HOT 1
- SWXMLHash 6.0.0 Compatibility HOT 4
- Make SVG render in an external CALayer [improvement] HOT 1
- Swift Compiler Error on Xcode 13 - Macaw doesn't compile HOT 2
- How to find a svg node by coordinates from the container
- SVGView doesn't fit the image in the screen with contentMode ".scaleAspectFit" HOT 5
- [Question] Support svgz files
- SVG image isn't displayed properly
- Image under defs tag is not getting displayed on device
- SVG parsing error
- There are some performance issues when use mask/effect...
- Can I use this splice and export SVG images?
- DrawingView 消失 HOT 3
- Animate start point bezier path. #2
- Need installation with Swift Package Manager
- SVGParser.parse(text:) crash
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macaw.