Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) Manual de usuario Pagina 531

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 942
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 530
CHAPTER 13
Drawing and Graphics
About Drawing 13-5
A rounded rectangle is a rectangle with rounded corners. The gure is dened by
the rectangle itself, along with the width and height of the ovals forming the
corners (called the diameters of curvature), as shown in Figure 13-5. The corner
width and corner height are limited to the width and height of the rectangle itself; if
they are larger, the rounded rectangle becomes an oval.
Figure 13-5 A rounded rectangle
A polygon is dened by a sequence of points representing the polygon’s vertices,
connected by straight lines from one point to the next. You dene a polygon by
specifying an array of
x and y locations in which to draw lines and passing it as a
parameter to
MakePolygon. Figure 13-6 shows an example of a polygon.
Bounding
rectangle
Rounded
rectangle
Diameter
of curvature
Diameter
of curvature
Vista de pagina 530
1 2 ... 526 527 528 529 530 531 532 533 534 535 536 ... 941 942

Comentarios a estos manuales

Sin comentarios