CardArt
public struct CardArt : Sendable
CardArt provides the card information used by the MPA for display.
-
bitmap(forArtType:Asynchronous) Fetches the bitmap of the card corresponding to the card art type.
Throws:
clientError(_:)if error encountered during get card art.
Parameters
artTypeInput data of type ArtType to get relevant card art.
Return Value
Bitmap for cardArt.
-
Describes the type of card art
See moreDeclaration
Swift
public enum ArtType -
CardArtSize provides the size of the card arts.
See moreDeclaration
Swift
public struct Size -
CardBitmap provides the size and bitmap resource of the card art.
See moreDeclaration
Swift
public struct Bitmap : Sendable -
Undocumented
See moreDeclaration
Swift
public enum Error : Swift.Error
CardArt Structure Reference