SASReportObject

public protocol SASReportObject : NSObjectProtocol

An object in a SAS report. This could be a visual, or a container.

Since

since 26.0.0
  • The SASReport that this object belongs to.

    Since

    since 26.0.0

    Declaration

    Swift

    var report: SASReport { get }
  • The UIView that visualizes this report object.

    Since

    since 26.0.0

    Declaration

    Swift

    var view: UIView { get }
  • The name that identifies this object in the report.

    Since

    since 26.0.0

    Declaration

    Swift

    var objectName: String { get }
  • The objects title as an attributed string (if available)

    Since

    since 26.0.0

    Declaration

    Swift

    var title: NSAttributedString? { get }
  • render this object to an image with a width and height.

    Since

    since 26.0.0

    Declaration

    Swift

    func renderToThumbnail(size: CGSize, withTitle: Bool, completion: @escaping (SASReportObject, UIImage?) -> Void)
  • Is this object busy, or ready.

    Since

    since 26.0.0

    Declaration

    Swift

    var isBusy: Bool { get }
  • the delegate for this report object.

    Since

    since 26.0.0

    Declaration

    Swift

    var delegate: SASReportObjectDelegate? { get set }
  • The visuals padding. Applied on all sides.

    Since

    since 26.0.0

    Declaration

    Swift

    var padding: Int { get }