rojo/.cursor/rules/roblox/reference/engine/classes/StyleDerive.yaml
2026-02-02 12:08:47 -06:00

75 lines
2.4 KiB
YAML

# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: StyleDerive
type: class
memory_category: Gui
summary: |
When parented to a `Class.StyleSheet`, references another `Class.StyleSheet`
from which the parent inherits `Class.StyleRule|StyleRules` and token
definitions.
description: |
When parented to a `Class.StyleSheet`, references another `Class.StyleSheet`
from which the parent inherits `Class.StyleRule|StyleRules` and token
definitions. Multiple `StyleDerive` instances can exist under a
`Class.StyleSheet` and you can order them by
`Class.StyleDerive.Priority|Priority`.
code_samples: []
inherits:
- Instance
descendants: []
tags: []
deprecation_message: ''
properties:
- name: StyleDerive.Priority
summary: |
A number that determines how style properties inherited through this
`StyleDerive` apply relative to the same properties inherited through
other `StyleDerives`.
description: |
A number that determines how style properties inherited through this
`StyleDerive` apply relative to the same properties inherited through
other `StyleDerives`. Higher priority takes precedence over lower; for
example, if a `StyleDerive` with a priority of `10` points to a sheet
`StyleSheetA`, its `Class.StyleRule|StyleRules` and tokens will take
precedence over the same `Class.StyleRule|StyleRules` and tokens inherited
through lower-priority `StyleDerives`.
code_samples: []
type: int
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Data
serialization:
can_load: true
can_save: true
capabilities:
- UI
- name: StyleDerive.StyleSheet
summary: |
The `Class.StyleSheet` from which the parent `Class.StyleSheet` inherits
`Class.StyleRule|StyleRules` and token definitions.
description: |
The `Class.StyleSheet` from which the parent `Class.StyleSheet` inherits
`Class.StyleRule|StyleRules` and token definitions.
code_samples: []
type: StyleSheet
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Data
serialization:
can_load: true
can_save: true
capabilities:
- UI
methods: []
events: []
callbacks: []