Unit -2 Concepts of Various Objects
Unit -2 Concepts of Various Objects
VARIOUS
OBJECTS
POINT
• A geometrical point is a location in space.
• It has no other characteristics. It has no length, width, or thickness. It is pure
location.
• The phrase "location in space" designates the same concept as the word
"point".
• In geometry, the word point is not defined. It is one of the undefined primitives
that are used to define other objects.
LINE
• The physical characteristics of line are many.
• Lines may be short or long, thin or
thick, straight or curved,
direct or meandering, zigzag or serpentine, distinct or
blurred.
• Measure refers to the length and width of line – its meas
urable properties.
• A line may be of any length and breadth.
• Thin lines are generally more elegant, gentle, or delicate.
CHARACTERISTIC OF LINE
ARE:
• Width - thick, thin, tapering, uneven.
• Length - long, short, continuous, broken.
• Direction- horizontal, vertical, diagonal, curving, perpendicular, oblique,
parallel, radial, zigzag.
• Focus- sharp, blurry, fuzzy, choppy.
• Feeling- sharp, jagged, graceful, smooth.
TYPES OF LINES
• Vertical Lines: These are perfectly straight lines extending up and down.
• Horizontal Lines: These are also perfectly straight lines, but they extend
side to side.
• Diagonal Lines: Again, these are straight lines, but their direction has both a
vertical and a horizontal direction.
• There are many different types of line. If the line continues in only one direction, it i
s straight;
• if changes of direction gradually occur, it is curved;
• if those changes are sudden and abrupt, an angular line is created.
• By joining the characteristics of
measure and type, we find that long, short, thick, or thin lines can be straight,
angular, or curved.
• A straight line, in its continuity, ultimately seems stiff and rigid
and, if rendered thinly, may appear brittle.
• The curved line may form an arc, reverse its curve to become wavy, or continue
turning within itself to produce a spiral.
• Alterations of movement become visually entertaining and physically stimulating if
they are rhythmical. A curved line is inherently graceful and, to a degree, unstable.
CIRCLE
• Circle is a set of points in the XY-plane at a fixed
distance from a centre point (x,y).
• The centre point is called the centre of the circle and the
fixed distance is called the radius of the circle, and the
length of the circle is called its circumference.
• The longest distance from one end of the circle to the
other is called the diameter of the circle.
• Circle is an eight-way symmetric figure.
• The shape of circle is the same in all quadrants.
• In each quadrant, there are two octants.
• If the calculation of the point of one octant is done, then
the other seven points can be calculated easily by using
the concept of eight-way symmetry.
• Any Continuous part of a circle is called an arc.
• A line segment within a circle that touches two points
on the circle is called a chord.
• Diameter of the circle is the longest chord.
ELLIPSE
• Ellipse is a geometrical shape on a plane where
the sum of the distances from any point on the
curve to two fixed points within the curve is
constant. These two points are called the foci
points of the ellipse.
• An ellipse is the set of all points (x, y) in a plane,
the sum of whose distances from two distinct
fixed points, foci, is constant.
• The line through the foci intersects the ellipse at
two points called vertices. The chord joining the
vertices is the major axis, and its midpoint is the
center of the ellipse.
POLYGON
• If m < 1 • If m > 1
• Pk= 2dy –dx • Pk = 2dx- dy
• Pk+1 = Pk + 2dy -2dx(yk+1,yk) • Pk+1 = Pk + 2dx -2dy (xk+1,xk)
• If Pk >= 0 • If Pk >=0
yk+1 = yk +1 xk+1 = xk + 1
Drawing DDA algorithm can draw circles and Bresenhams algorithm can draw circles and
curves but that are not as accurate as curves with much more accuracy than DDA
Bresenhams algorithm. algorithm.
Round Off DDA algorithm round off the Bresenhams algorithm does not round
coordinates to integer that is nearest to off but takes the incremental value in its
the line. operation.
Expensive DDA algorithm uses an enormous Bresenhams algorithm is less expensive
number of floating-point multiplications than DDA algorithm as it uses only addition
so it is expensive. and subtraction.
LINE
• As an element of visual art and graphic design, line is perhaps the most
fundamental.
• In art, line is the path a dot takes as it moves through space and it can
have any thickness as long as it is longer than it is wide.
• Not only can a line be a specifically drawn part of your composition, but it
can even be an implied line where two areas of color or texture meet.
• This means that any shapes you use, even if they are not outlined, are
bound by lines.
TYPES OF LINES
• Lines do not have to be perfectly straight, but if
you've ever watched a toddler scribbling, you
already knew that.
• Here are a few types of lines commonly used in
art. They are defined by the path they take.
• Vertical Lines: These are perfectly straight lines
extending up and down.
• Horizontal Lines: These are also perfectly straight
lines, but they extend side to side.
• Diagonal Lines: Again, these are straight lines, but
their direction has both a vertical and a horizontal
direction.
• Curved Lines: These lines bend so that they are
not perfectly straight.
STYLES OF LINES
• In addition to the types of lines, artists and graphic designers use a variety
of line styles.
• Some lines are longer than others, some are thicker than others, while
some even change direction in order to zigzag or become wavy lines with
curve changes.
• Continuous Lines: These are solid lines drawn from one point to another.
They can be straight or curvy as long as they do not stop and restart at any
point.
• Interrupted Lines: These lines are the opposite of continuous lines. The
line's path still exists from one point or another, but there are gaps in the
illustration along the way. Two common types of interrupted lines are dotted
lines and dashed lines.
• Implied Lines: They are lines that are not drawn but exist at the point where
one area of color or texture touches another area of color or texture.
• linestyle specifies in which of several styles subsequent lines will be drawn (such
as solid, dotted, centered, dashed).
• thickness specifies whether the width of subsequent lines drawn will be normal or
thick.
LINE CAPS AND JOINS
• Since strokes have a width, they create a shape.
• The shape of the line caps and the line joins are controlled by the stroke-
linecap and stroke-linejoin attributes, respectively.
• Baring unreasonable expectations, the two attributes provide all the control
over the shape of the stroke you should ever need.
LINE CAPS
• The stroke-linecap attribute defines the shape of the stroke at the start and end
of lines.
• The attribute jointly controls the start and finish. This is used with paths and
shapes like polygons.
Value Comments
Ends the stroke flush with the
butt start or end of the line. This is
the initial value.
Ends the line with a circle the
round
diameter of the stroke.
squar Extends the line to match the
e stroke's thickness.
inherit The default value.
LINE JOINS
• The stroke-linejoin attribute defines the shape of the stroke used at the
joints of paths and shapes like polygons.
• Like line caps, joints cannot be individually specified.
• The default is miter which extends the stroke to where the edges on each
side bisect.
Value Comments
Extends the stroke to where the
miter edges on each side bisect. This is
the initial value.
Rounds the outside edge with a
round
circle the diameter of the stroke.
Cuts the outside edge off where a
bevel circle the diameter of the stroke