Skip to content
Version 2.32.0
↓ Get the launcher

BubbleElement.CornerRadius property

Corner radius in px. 0 (default) reuses the shared 3-radius rounded chip sprite (the SelectableElement chip); a positive value bakes a rounder sliced sprite at that radius (cached per radius, theme-independent). Use ~8–12 for a softer game-style bubble. Note the sliced background’s minimum size is 2r+2, so for a perfectly round bubble (or capsule) of side S use r = S/2 − 1 (e.g. 13 for 28 px); a larger r makes the bubble 2 px taller than its content. The value is used as given — it is not capped.

public float CornerRadius { get; set; }