Skip to content

PlaneswalkerTransformLayout

src.layouts.PlaneswalkerTransformLayout

Bases: PlaneswalkerLayout

Transform version of the Planeswalker card layout introduced in Innistrad block.

Source code in src\layouts.py
920
921
922
923
924
925
926
927
928
929
class PlaneswalkerTransformLayout(PlaneswalkerLayout):
    """Transform version of the Planeswalker card layout introduced in Innistrad block."""

    # Static properties
    is_transform: bool = True

    @auto_prop_cached
    def card_class(self) -> str:
        """Card class separated by card face."""
        return LayoutType.PlaneswalkerTransformFront if self.is_front else LayoutType.PlaneswalkerTransformBack

Functions

card_class() -> str

Card class separated by card face.

Source code in src\layouts.py
926
927
928
929
@auto_prop_cached
def card_class(self) -> str:
    """Card class separated by card face."""
    return LayoutType.PlaneswalkerTransformFront if self.is_front else LayoutType.PlaneswalkerTransformBack