Add placeholder options

This commit is contained in:
Simon 2018-12-26 22:24:27 +08:00
parent 7dc0ad949b
commit 1a9df20313
1 changed files with 18 additions and 0 deletions

View File

@ -59,3 +59,21 @@ public enum BackgroundStyle {
case solidColor(Color)
case image(Image)
}
public enum BackgroundStrategy {
case randomColor
case randomImage
}
public enum TextLocationStrategy {
case center
case topRight
case topLeft
case bottomRight
case bottomLeft
}
public enum TextSizeFormatStrategy {
case points
case aspectRatio
}