Java Drawing with Apache Batik: A Tutorial

Alexander Kolesnikov

  • 出版商: BrainySoftware.com
  • 出版日期: 2007-01-04
  • 售價: $1,400
  • 貴賓價: 9.5$1,330
  • 語言: 英文
  • 頁數: 256
  • 裝訂: Paperback
  • ISBN: 0975212893
  • ISBN-13: 9780975212899
  • 相關分類: Java 程式語言

無法訂購

買這商品的人也買了...

相關主題

商品描述

Description

This guide to Apache Batik, the Java library that can be used to read SVG files and translate the instructions in the files into graphics, shows how Batik can also be used to save the graphics as JPEG, TIFF, PNG, GIF, and other formats, so that the graphics can be transferred. Using Batik to create animation similar to Flash movies and its use for creating a drawing program such as Corel DRAW are also covered.

Scalable Vector Graphics (SVG) is an XML-based language for describing two-dimensional vector graphics and vector/raster graphics. The SVG specification describes in great detail how different shapes can be created, manipulated, transformed, and animated. In particular, SVG 1.1 defines:

  • Basic shape elements such as rectangle, circle, ellipse, line, polyline, and polygon.
  • Basic data types, such as integer, number, length, and angle.
  • The structure of an SVG document.
  • How to apply styles in an SVG document.
  • How to deal with text and how to use fonts.
  • How to work with colors, gradients, and patterns.
  • How and in which order elements should be rendered.
  • Which filter effects should be available and how to apply them.
  • How to animate images.
  • Apache Batik is a free and open-sourced implementation of SVG. It comes with tools and sample applications that demonstrate the power of SVG and Batik. This book is an easy-to-read tutorial on Batik. It teaches you how to use the tools in Batik and gets you started with Batik programming. In addition, it explains the following topics:

    • Batik implementation of the SVG specification
    • Batik API
    • SVG viewer
    • Transcoder and image format transcoding
    • Rasterizer
    • Document Object Model API
    • Text and fonts
    • Using Batik on the server side
    • Interactivity
    • Animation
    • Gradients
    • Filter effects