DHTML: Structured Graphics ActiveX Control

Slides:



Advertisements
Similar presentations
 2004 Prentice Hall, Inc. All rights reserved. 1 Chapter 30 - Dynamic HTML: Structured Graphics ActiveX Control Outline 30.1Introduction 30.2Shape Primitives.
Advertisements

CHAPTER 20 CREATING SVG GRAPHICS. LEARNING OBJECTIVES How to embed a graphic stored within a.SVG file in an HTML page How to use the and tag pair to specify.
Graphics You draw on a Graphics object The Graphics object cannot directly be created by your code, instead one is generated when the method paintComponent.
LAB SESSION 7 Graphical user interface Applet fundamentals Methods in applets Execution of an applet Graphics class.
Graphics Programming. In this class we will cover: Drawing lines, rectangles, and ellipses Copying an area Drawing an image.
Lecture # 11 JavaScript Graphics. Scalable Vector Graphics (SVG) Scalable Vector Graphics (SVG), as the name implies, are - scalable (without pixelation):
Java Graphics Section 1 - Multi-File Graphics Programs Section 2 - The Coordinate System and Graphics Context g Section 3 - The Java Drawing and Painting.
11.5 Rotations. Rotations Rotate a Figure 90 about the origin.
Difference between content, layout and styles Miss Allgar
HTML 5 Previous version: HTML4.01, 1999 Still work in progress, most browsers support some of it.
“To make my meal in a box taste better, I decided to tweak the logo, rather than the ingredients. ” -Jarod Kintz ILLUSTRATOR.
1 Graphics -- Introduction zThe use of graphics is common among modern software systems  Java has strong API support for graphics in the java.awt (abstract.
1 Chapter 15 l Basic Figures l Colors l Fonts and Other Text Details Graphics Objects.
©2004 Brooks/Cole Applets Graphics & GUIs. Figures ©2004 Brooks/Cole CS 119: Intro to JavaFall 2005 Graphical Programs Most applications these days are.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Topics  Applets  Classes used for graphics Graphics Point Dimension.
1 L37 Graphics and Java 2D™ (2). 2 OBJECTIVES To use methods of class Graphics to draw lines,  rectangles,  rectangles with rounded corners,  three-dimensional.
May 11, 1998CS102-02Lecture 7-1 More Graphics in Java CS Lecture 7-1 A picture's worth a thousand words.
1 L38 Graphics and Java 2D™ (3). 2 OBJECTIVES In this chapter you will learn:  To understand graphics contexts and graphics objects.  To understand.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4 th Ed Chapter Chapter 5 Java Graphics Applets.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4 th Ed Chapter Chapter 5 Applets and Graphics.
Slide Transitions Slide Show, Slide Transition opens Slide Transition task pane Practice each option setting to select the transition style, its speed,
CS324e - Elements of Graphics and Visualization Java2D Graphics.
XP Tutorial 7 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Working with Graphics Tutorial 7.
Java Software Solutions Lewis and Loftus Chapter 7 1 Copyright 1997 by John Lewis and William Loftus. All rights reserved. Graphics -- Introduction The.
1 Graphical User Components (II) Outline JTextArea Creating a Customized Subclass of JPanel JPanel Subclass that Handles Its Own Events Windows: Additional.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 20 – Dynamic HTML: Path, Sequencer and Sprite ActiveX Controls Outline 20.1Introduction 20.2DirectAnimation.
Session: 17. © Aptech Ltd. 2Canvas and JavaScript / Session 17  Describe Canvas in HTML5  Explain the procedure to draw lines  Explain the procedure.
Chapter 15 Graphics and Java 2D™ Java How to Program, 8/e (C) 2010 Pearson Education, Inc. All rights reserved.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 28 - Java Graphics and Java2D Outline 28.1Introduction.
Chapter 28 - Java Graphics and Java2D Outline 28.1Introduction 28.2Graphics Contexts and Graphics Objects 28.3Color Control 28.4Font Control 28.5Drawing.
Microsoft Word Toolbars and Vocabulary How to Find Missing Toolbars How to Find Missing Toolbars Standard Toolbar Standard Toolbar Formatting Toolbar Formatting.
Hypertext Mark-Up Language Web Page Creation HTML.
 Pearson Education, Inc. All rights reserved. 1 Ch 12 Graphics and Java 2D In this chapter you will learn:  To understand graphics contexts.
Chapter 15Java: an Introduction to Computer Science & Programming - Walter Savitch 1 Chapter 15 l Basic Figures l Colors l Fonts and Other Text Details.
Graphics & Java 2D Drawing Two Dimensional Shapes Controlling Fonts Controlling Colors.
Applets Applet is java program that can be embedded into HTML pages. Java applets runs on the java enabled web browsers such as mozilla and internet explorer.
Chapter 2: Color and Applets Coming up: Introduction to Graphics.
SVG for Designers Tom Hoferek. Objectives Introduce SVG Illustrate its capabilities Demonstrate SVG in action Speculate, discuss, answer questions.
Employee Health Benefits CITY OF ASPEN FALLS Create a new presentation using the Retrospect theme with the second variant. Save as Last_First_p03_exam_Health.
Tkinter Canvas.
Distribute and Combine Like Terms Applications. What is the area of the following shape? 5 2x-3 1.
Web Design. How do web pages work? Webpages are written in a code called HTML. Programs like Internet Explorer read the code, and then show it as a web.
Merete S COLLEGEFACULTY OF ENGINEERING & SCIENCE Graphics ikt403 – Object-Oriented Software Development.
Graphics and Java2D Chapter Java Coordinate System Origin is in _____________ corner –Behind title bar of window X values increase to the ________.
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 19 – Dynamic HTML: Structured Graphics ActiveX Control Outline 19.1Introduction 19.2Shape.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 17 - Dynamic HTML: Structured Graphics ActiveX Control Outline 17.1 Introduction 17.2 Shape Primitives.
Copyright (c) 2004 Prentice Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Go! With Microsoft Office (Word) 2003.
Excel 2010 Formatting Cells. Formatting text To change the font:
1 Graphics, Fonts and Color Chapter 9. 2 What is in this chapter: l Graphics class and coordinates l graphics primitives (lines,rectangles,ovals and arcs)
Graphics and Multimedia. OUTLINE Font Control Drawing Lines, Rectangles and Ovals Drawing Arcs Drawing a General Path.
1 Introduction to Graphics b The last one or two sections of each chapter of the textbook focus on graphical issues b Most computer programs have graphical.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
Basic Graphics 03/03/16 & 03/07/16 Imagine! Java: Programming Concepts in Context by Frank M. Carrano, (c) Pearson Education - Prentice Hall, 2010.
6.1 Coordinates The screen of a computer is a grid of little squares called pixels. The color of each pixel can be set individually, and drawing on the.
(PART II) Graphics and Multimedia. Font Control Font s  After a Font is created, its properties cannot be modified  Programmers must create a new Font.
(PART II) Graphics and Multimedia 11/02/1437 Lect6 (Part 2)
12 Graphics and Java 2D™.
JAVA 2 Design and programming of GUI
Chapter 14 JavaFX Basics Dr. Clincy - Lecture.
Smart Graphic Layout TOPIC statement
Project title Scheduled dates Team members JAN FEB MAR APR MAY JUN
ISC440: Web Programming II Ch14: HTML5 Canvas
Graphics -- Introduction
12 Graphics and Java 2D™.
Chapter 17 - Dynamic HTML: Structured Graphics ActiveX Control
Creating an Image Map.
Graphics and Multimedia
Graphical Interface Commands
Presentation transcript:

DHTML: Structured Graphics ActiveX Control Creating, moving, and rotating shapes

Structured Graphics are only used with Internet Explorer 5 Structured Graphics control is a Web interface for the widely used DirectAnimation subset of Microsoft’s DirectX software http://www.microsoft.com/DirectX/dxm/

Using the PARAM tag Page 1013 Shapes Inside the param tag you can have NAME and VALUE Succesive line numbers in NAME prevents the intended methods from being called SetLineColor color of border line of shapes RGB SetLineStyle line style and line width SetFillColor color of shape to be filled in with RGB SetFillStyle pg 1015 1-14 different types of filling

PARAM tag Oval x,y coordinates; height and width; clockwise rotation in degrees Arc x, y, height, width, angle of arc, size of arc, rotation Pie same as arc but fills arc with foreground color Polygon # of vertices, pairs of x,y coordinates Rect x, y, height, width, rotation RoundRect x, y, height, width, rotation, height and width of rounded arc at the corners of the rectangle SetFont fontstyle, size, boldness, italic, underline, strikethrough Text text, x, y, rotation PolyLine # of points, pairs of x,y coordinates