Package nl.vpro.domain.image
Class Point
- java.lang.Object
-
- nl.vpro.domain.image.Point
-
- All Implemented Interfaces:
Serializable
public class Point extends Object implements Serializable
Represents the location of one pixel in an image.- Since:
- 5.34
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Point(int x, int y)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(@Nullable Object other)booleanequals(@Nullable Object o)intgetX()intgetY()inthashCode()static Pointof(@javax.validation.constraints.Positive int x, @javax.validation.constraints.Positive int y)Pointtimes(float multiplier)StringtoString()
-
-
-
Method Detail
-
of
public static Point of(@Positive @javax.validation.constraints.Positive int x, @Positive @javax.validation.constraints.Positive int y)
-
times
public Point times(float multiplier)
-
getX
public int getX()
-
getY
public int getY()
-
canEqual
protected boolean canEqual(@Nullable Object other)
-
-