|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Size | |
---|---|
edu.rit.slides.items | Package edu.rit.slides.items contains classes for the different kinds of items that can appear on slides in the Slides application. |
Uses of Size in edu.rit.slides.items |
---|
Methods in edu.rit.slides.items that return Size | |
---|---|
Size |
Size.div(double scale)
Returns a new size equal to this size divided by the given scale factor. |
Size |
Size.div(double wscale,
double hscale)
Returns a new size equal to this size divided by the given scale factors. |
Size |
Size.mul(double scale)
Returns a new size equal to this size multiplied by the given scale factor. |
Size |
Size.mul(double wscale,
double hscale)
Returns a new size equal to this size multiplied by the given scale factors. |
Size |
RectangleItem.size()
Returns this rectangle item's size. |
Size |
ImageItem.size()
Returns this image item's size. |
Methods in edu.rit.slides.items with parameters of type Size | |
---|---|
Point |
Point.add(Size theSize)
Returns a new point at the given width and height away from this point. |
Point |
Point.e(Size theSize)
Returns a new point that is the given distance east of this point. |
Point |
Point.n(Size theSize)
Returns a new point that is the given distance north of this point. |
Point |
Point.s(Size theSize)
Returns a new point that is the given distance south of this point. |
Point |
Point.sub(Size theSize)
Returns a new point at the given width and height away from this point. |
Point |
Point.w(Size theSize)
Returns a new point that is the given distance east of this point. |
Constructors in edu.rit.slides.items with parameters of type Size | |
---|---|
RectangleItem(Point theLocation,
Size theSize)
Construct a new rectangle item. |
|
RectangleItem(Point theLocation,
Size theSize,
Fill theFill)
Construct a new rectangle item. |
|
RectangleItem(Point theLocation,
Size theSize,
Outline theOutline)
Construct a new rectangle item. |
|
RectangleItem(Point theLocation,
Size theSize,
Outline theOutline,
Fill theFill)
Construct a new rectangle item. |
|
Size(Size theSize)
Construct a new size with the same width and height as the given size. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |