Beamable SDK
All Classes Namespaces Functions Variables Properties Events
Public Member Functions | Public Attributes | List of all members
Beamable.UI.Buss.StyleObject Class Reference

StyleObject is a class. When it is new'd, we'll create a blank style object with null properties. More...

Inheritance diagram for Beamable.UI.Buss.StyleObject:
Inheritance graph
[legend]
Collaboration diagram for Beamable.UI.Buss.StyleObject:
Collaboration graph
[legend]

Public Member Functions

virtual StyleObject Clone ()
 
virtual StyleObject Merge (StyleObject other)
 Prefer the values in the other StyleObject over the existing ones More...
 
Resolve< T > (string variable)
 

Public Attributes

ColorBussProperty Color = new ColorBussProperty()
 
BackgroundBussProperty Background = new BackgroundBussProperty()
 
FontBussProperty Font = new FontBussProperty()
 
BorderBussProperty Border = new BorderBussProperty()
 
VariableScope Scope = new VariableScope()
 
bool AnyDefinition => AllProperties.Any(p => p.HasAnyStyles) || Scope.AnyDefinition
 

Detailed Description

StyleObject is a class. When it is new'd, we'll create a blank style object with null properties.

Member Function Documentation

◆ Merge()

virtual StyleObject Beamable.UI.Buss.StyleObject.Merge ( StyleObject  other)
inlinevirtual

Prefer the values in the other StyleObject over the existing ones

Parameters
other
Returns
a brand new StyleObject. No modification should have happened to the invocation target's data

The documentation for this class was generated from the following file: