Sprite Protocols

  • By conforming to this protocol you indicate, that a sprite model or sprite view supports horizontal flip.

    See more

    Declaration

    Swift

    public protocol HorizontallyFlippable
  • Classes and structs that conform to Identifiable can be uniquely identified.

    See more

    Declaration

    Swift

    public protocol Identifiable
  • By conforming to this protocol you indicate, that a sprite model or sprite view supports using a normalized center.

    See more

    Declaration

    Swift

    public protocol NormalizedCenterable
  • By conforming to this protocol you indicate, that a sprite model or sprite view supports using a normalized font size.

    See more

    Declaration

    Swift

    public protocol NormalizedFontSizable
  • By conforming to this protocol you indicate, that a sprite model or sprite view supports using a normalized height.

    See more

    Declaration

    Swift

    public protocol NormalizedHeightSettable
  • By conforming to this protocol you indicate, that a sprite model or sprite view supports using a normalized center and normalized size.

    See more

    Declaration

    Swift

    public protocol NormalizedPlaceable : NormalizedCenterable, NormalizedSizable
  • By conforming to this protocol you indicate, that a sprite model or sprite view supports using a normalized size.

    See more

    Declaration

    Swift

    public protocol NormalizedSizable : NormalizedHeightSettable, NormalizedWidthSettable
  • By conforming to this protocol you indicate, that a sprite model or sprite view supports using a normalized width.

    See more

    Declaration

    Swift

    public protocol NormalizedWidthSettable
  • By conforming to this protocol you indicate, that a sprite model or sprite view supports changing its orientation.

    Declaration

    Swift

    public protocol Orientatable
  • By conforming to this protocol you indicate, that a sprite model or sprite view supports rotation.

    See more

    Declaration

    Swift

    public protocol Rotatable