Abstract
Shapes are a natural extension of lines and curves. In the simplest sense, a shape is just the enclosed space formed between three or more lines. Of course, a single continuous curve can enclose space as well (e.g., an ellipse). Shapes can be generally categorized. For example, an enclosed three-sided shape is referred to as a triangle, even if its size or configuration can’t be determined. Fundamental 2D shapes (e.g., rectangles, circles, and triangles) are commonly referred to as primitives. Primitives are essential building-block shapes, which when combined allow you to (efficiently) construct most other shapes. Processing includes both 2D and 3D primitive functions. In this chapter, you’ll just be dealing with 2D shape functions
Keywords
- Object Reference
- Reference Variable
- Exception Handling
- Instance Variable
- Display Window
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This is a preview of subscription content, access via your institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2007 Ira Greenberg
About this chapter
Cite this chapter
(2007). Shapes. In: Processing. Apress. https://doi.org/10.1007/978-1-4302-0310-0_9
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0310-0_9
Publisher Name: Apress
Print ISBN: 978-1-59059-617-3
Online ISBN: 978-1-4302-0310-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books
