Skip to content

Corner

import { Aside } from “@astrojs/starlight/components”; import TypeSignature from “@components/TypeSignature.astro”;

<TypeSignature typeName={ “CornerOrientation” } typePrefix={ “class” } typeArgList={ ”(*values)” }> CornerOrientation

Bases: Enum

<TypeSignature typeName={ “TOP_LEFT” } typePrefix={ “member” } returnType={ “1” }> TOP_LEFT

<TypeSignature typeName={ “TOP_RIGHT” } typePrefix={ “member” } returnType={ “2” }> TOP_RIGHT

<TypeSignature typeName={ “BOTTOM_LEFT” } typePrefix={ “member” } returnType={ “3” }> BOTTOM_LEFT

<TypeSignature typeName={ “BOTTOM_RIGHT” } typePrefix={ “member” } returnType={ “4” }> BOTTOM_RIGHT

<TypeSignature typeName={ “Corner” } typePrefix={ “class” } typeArgList={ “(orientation: Literal[‘top-left’, ‘top-right’, ‘bottom-left’, ‘bottom-right’] | CornerOrientation = CornerOrientation.TOP_RIGHT, name: str | None = None, visible: bool = True, all_visible: bool = False, style: str | None = None, style_classes: Iterable[str] | str | None = None, tooltip_text: str | None = None, tooltip_markup: str | None = None, h_align: Literal[‘fill’, ‘start’, ‘end’, ‘center’, ‘baseline’] | Align | None = None, v_align: Literal[‘fill’, ‘start’, ‘end’, ‘center’, ‘baseline’] | Align | None = None, h_expand: bool = False, v_expand: bool = False, size: Iterable[int] | int | None = None, **kwargs)” }> Corner

Bases: DrawingArea, Widget

<TypeSignature typeName={ “render_shape” } typePrefix={ “static” } typeArgList={ “(cr: Context, width: float, height: float, orientation: CornerOrientation = CornerOrientation.TOP_LEFT)” }> render_shape

<TypeSignature typeName={ “orientation” } typePrefix={ “property” } returnType={ “CornerOrientation” }> orientation