Fix README selector example (#248)

pull/213/head^2
Michał Woś 6 years ago committed by Mattia Iavarone
parent c113933b60
commit 4c6a8db0c3
  1. 2
      README.md

@ -370,7 +370,7 @@ to just square sizes:
```java ```java
SizeSelector width = SizeSelectors.minWidth(1000); SizeSelector width = SizeSelectors.minWidth(1000);
SizeSelector height = SizeSelectors.minWidth(2000); SizeSelector height = SizeSelectors.minHeight(2000);
SizeSelector dimensions = SizeSelectors.and(width, height); // Matches sizes bigger than 1000x2000. SizeSelector dimensions = SizeSelectors.and(width, height); // Matches sizes bigger than 1000x2000.
SizeSelector ratio = SizeSelectors.aspectRatio(AspectRatio.of(1, 1), 0); // Matches 1:1 sizes. SizeSelector ratio = SizeSelectors.aspectRatio(AspectRatio.of(1, 1), 0); // Matches 1:1 sizes.

Loading…
Cancel
Save