bundle.website.builtin.components.graphic.twoD ============================================== .. py:module:: bundle.website.builtin.components.graphic.twoD Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/bundle/website/builtin/components/graphic/twoD/component/index Classes ------- .. autoapisummary:: bundle.website.builtin.components.graphic.twoD.GraphicTwoDComponent bundle.website.builtin.components.graphic.twoD.GraphicTwoDComponentParams Package Contents ---------------- .. py:class:: GraphicTwoDComponent(/, **data: Any) Bases: :py:obj:`bundle.website.builtin.components.graphic.base.GraphicBaseComponent` Base class for canvas/SVG style 2D graphics components. .. py:attribute:: params :type: GraphicTwoDComponentParams :value: None .. py:class:: GraphicTwoDComponentParams(/, **data: Any) Bases: :py:obj:`bundle.website.builtin.components.graphic.base.GraphicComponentParams` Shared parameters for 2D graphics components. .. py:attribute:: render_mode :type: str :value: '2d' .. py:attribute:: width :type: int | None :value: None .. py:attribute:: height :type: int | None :value: None .. py:attribute:: device_pixel_ratio_cap :type: float :value: 2.0