Questions tagged as 'svg'

1
answer

Image SVG conversion in Ruby on Rails

I have an application in rails and there I generate SVG images to return to the user via email, but I want to return this in another format (png or jpg). Does anyone have any tips on how I can do this?     
asked by 17.04.2015 / 20:46
1
answer

SVG Map on Wordpress

I can not insert the map (link below) into Wordpress. When I put the code on the page, the states are queued as appended: Cananyonehelpme?TksThefollowingisthecode(IdidnotputintegerinthesnippetbecausetheOSlimitsthequestionto30000characters):On...
asked by 11.04.2015 / 21:31
0
answers

Use viewBox in SVG

I used SVG to create objects. The problem is that when I change the window, the SVG is cut, I can only see a part. I want to use the viewBox to display all window-dependent SVG or image resolution. <svg width="980" height="500" viewBox="0 0...
asked by 09.02.2015 / 11:45
0
answers

Setting zoom and drag in SVG area

I'm trying to make a system create a graph of a math function, and I'm developing it in svg . But I'm finding some difficulties, the first one is the lack of automation, because as we know, one such a graphics is infinite, and I can not im...
asked by 16.08.2014 / 01:44
2
answers

Error while trying to display a vector imageView (SVG)!

Good luck, in this app I intend to test by inserting a vector image into the main activity. I made the entire integration process, as you can see: ButeventhoughIhavefollowedthewholetutorial,thefollowingerrorappears,soIcannotevenruntheapp...
asked by 05.02.2017 / 00:51
1
answer

Limit the number of clones

Following this project, Clone of an image , I wanted to limit the number of clones and the movement of images for example through a variable (eg: variable = 5) When for example the 5 clones are moved / created, they can not be created or moved...
asked by 08.04.2015 / 10:21
1
answer

How to differentiate clones to color certain parts of SVG

Following my series of questions to solve this, I would like a tip on how to differentiate these clones that are generated because I would like to paint only one slice at a time. The idea is to click on a space, it turns black, and color the othe...
asked by 07.12.2018 / 00:44
1
answer

Change the properties of an SVG object with JS

I'm learning about creating SVG graphics for HTML and would like to know how to change the properties of an SVG cicle, rect) through JS for example, when you click on a button it changes the position of a line. I looked at some websites a...
asked by 13.03.2018 / 06:00
1
answer

Rectangle SVG within another rectangle

I want to place a rect element inside another rect element. I used opacity, but it always shows me a rectangle. I used the following code: <svg width="400" height="180"> <g> <rect x="50" y="20" width="150" height="150" style...
asked by 26.12.2014 / 11:19
1
answer

Multilayer Tablet Does Not Load Svg Positioning Correctly

I created a character using SVG, which appears disassembled on the tablet within the webview, this happened in the tablet's default browser as well:    Multilaser       Android 4.4.2       Model Number: ML02-M9-Quad-Core    QuadCore-A33...
asked by 08.10.2018 / 15:38