Skip to content

Commit

Permalink
Merge branch 'contentAligment' of [email protected]:soerendomroes/elk.gi…
Browse files Browse the repository at this point in the history
…t into contentAligment
  • Loading branch information
soerendomroes committed Apr 1, 2020
2 parents cb59d9e + 7e8f3a7 commit 35f24ab
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,11 @@ public static EnumSet<ContentAlignment> topLeft() {
public static EnumSet<ContentAlignment> bottomRight() {
return EnumSet.of(V_BOTTOM, H_RIGHT);
}

/**
* @return a set containing {@link #V_TOP} and {@link #H_CENTER}.
*/
public static EnumSet<ContentAlignment> topCenter() {
return EnumSet.of(V_TOP, H_CENTER);
}
}

0 comments on commit 35f24ab

Please sign in to comment.