1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

use java to do svg~~~

Discussion in 'Software Development' started by teresa91198, Oct 7, 2008.

Thread Status:
Not open for further replies.
  1. teresa91198

    teresa91198 Thread Starter

    Apr 24, 2007
    <svg width="300" height="300" x="0" y="0">
    <rect x="5" y="30" width="265" height="165"
    <rect x="15" y="50" width="100" height="50" fill="blue"
    stroke="black" stroke-width="3" stroke-dasharray="9 5"/>
    <rect x="15" y="130" width="100" height="50" fill="green"
    stroke="black" stroke-width="3" rx="5" ry="10"/>
    <rect x="150" y="50" width="100" height="50" fill="red"
    stroke="blue" stroke-opacity="0.5"
    fill-opacity="0.3" stroke-width="3"/>
    <rect x="150" y="130" width="100" height="50"

    how to use java to do this program????
    a. fill-opacity
    b. stroke-opacity
    c. style (CSS-like attribute)
    d. stroke-dasharray
  2. Chicon


    Jul 29, 2004
    Hi teresa91198,

    You probably need a third party API like the Batik SVG Toolkit from the Apache website.
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/756975

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice