Module org.refcodes.graphical
Package org.refcodes.graphical
Interface Dimension.DimensionBuilder<B extends Dimension.DimensionBuilder<B>>
- Type Parameters:
B
- the generic type
- All Superinterfaces:
HeightAccessor.HeightBuilder<B>
,WidthAccessor.WidthBuilder<B>
- All Known Subinterfaces:
PixmapImageBuilder<PX>
,Rectangle.RectangleBuilder<B>
- All Known Implementing Classes:
RgbPixmapImageBuilder
- Enclosing interface:
- Dimension
public static interface Dimension.DimensionBuilder<B extends Dimension.DimensionBuilder<B>>
extends WidthAccessor.WidthBuilder<B>, HeightAccessor.HeightBuilder<B>
Provides a builder for a dimension property (width and height).
-
Method Summary
Modifier and TypeMethodDescriptionwithDimension
(int aWidth, int aHeight) With dimension.withDimension
(Dimension aDimension) With dimension.Methods inherited from interface org.refcodes.graphical.HeightAccessor.HeightBuilder
withHeight
Methods inherited from interface org.refcodes.graphical.WidthAccessor.WidthBuilder
withWidth
-
Method Details
-
withDimension
With dimension.- Parameters:
aWidth
- the widthaHeight
- the height- Returns:
- the b
-
withDimension
With dimension.- Parameters:
aDimension
- the dimension- Returns:
- the b
-