40 likes | 196 Views
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
E N D
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