Package io.getstream.core.options
Class Crop
- java.lang.Object
-
- io.getstream.core.options.Crop
-
- All Implemented Interfaces:
RequestOption
public final class Crop extends java.lang.Object implements RequestOption
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Crop.Type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Request.Builder builder)
int
getHeight()
Crop.Type[]
getTypes()
int
getWidth()
-
-
-
Constructor Detail
-
Crop
public Crop(int width, int height, Crop.Type... types)
-
Crop
public Crop(int width, int height)
-
-
Method Detail
-
getTypes
public Crop.Type[] getTypes()
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
apply
public void apply(Request.Builder builder)
- Specified by:
apply
in interfaceRequestOption
-
-