INNER CODE UNIT · TypeScript

applyButtonBordered

PerryTS/perry · packages/perry-styling/src/index.ts:170

export function applyButtonBordered(handle: number, bordered: boolean): void {
  perry_ui_button_set_bordered(handle, bordered ? 1.0 : 0.0);
}

// -------------------------------------------------------------------
// Border, edge insets, opacity
// -------------------------------------------------------------------

export function applyBorderColor(handle: number, r: number, g: number, b: number, a: number): void {
  perry_ui_widget_set_border_color(handle, r, g, b, a);
}

export function applyBorderWidth(handle: number, width: number): void {
  perry_ui_widget_set_border_width(handle, width);
}

// Sets internal padding on VStack / HStack widgets (NSStackView edgeInsets).
// No-op for non-stack widgets.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…