LED_Element

public protocol LED_Element

This protocol specifies the interface for an element that is to be incorporated into an LED display group. The idea of this file is to provide LED elements that are expressed as UIBezierPath objects, and can be scaled, transformed, filled and drawn.

The deal with classes that use this protocol, is that they will deliver their displays as UIBezierPath objects, which can be resized, filled, combined with other paths, rotated, etc.

  • Get the drawing size of this element.

    Declaration

    Swift

    var drawingSize: CGSize { get }
  • Get all segments as one path.

    Declaration

    Swift

    var allSegments: UIBezierPath { get }
  • Get active segments as one path.

    Declaration

    Swift

    var activeSegments: UIBezierPath { get }
  • Get inactive segments as one path.

    Declaration

    Swift

    var inactiveSegments: UIBezierPath { get }