Orientation

enum Orientation(val id: Int, val name: String)

打印方向 Portrait 为纵向 Landscape 为横向

Companion:
object
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Enum entries

case Landscape extends Orientation
case Portrait extends Orientation