Click or drag to resize
Header Properties

The Header type exposes the following members.

Properties
  NameDescription
Public propertyAddHyphenWhenBreakWord
If true and a long word is broken due to word wrap, will add hyphen at the breaking point.
(Inherited from Paragraph.)
Public propertyAlignToCenter
Should we align text to center - this is just a sugarcoat to access the default force-align-to-center style property.
(Inherited from Paragraph.)
Public propertyAnchor
Set / get anchor.
(Inherited from Entity.)
Public propertyBackground
Optional background entity that will not respond to events and will always be rendered right behind this entity.
(Inherited from Entity.)
Public propertyBreakWordsIfMust
If WrapWords is true and there's a word that's too long (eg longer than max width), will break the word in the middle. If false, word wrap will only break lines in between words (eg spaces) and never break words.
(Inherited from Paragraph.)
Public propertyChildren
Get / set children list.
(Inherited from Entity.)
Public propertyDraggable
Is the entity draggable (eg can a user grab it and drag it around).
(Inherited from Entity.)
Public propertyEntityDefaultSize
Return the default size for this entity.
(Inherited from Entity.)
Public propertyFillColor
Entity fill color - this is just a sugarcoat to access the default fill color style property.
(Inherited from Entity.)
Public propertyInternalDestRect
Get internal destination rect.
(Inherited from Entity.)
Public propertyIsFocused
Does this entity or one of its children currently focused?
(Inherited from Entity.)
Public propertyIsMouseDown
Return if the mouse is currently pressing on this entity (eg over it and left mouse button is down).
(Inherited from Entity.)
Public propertyIsMouseOver
Return if the mouse is currently over this entity (regardless of whether or not mouse button is down).
(Inherited from Entity.)
Public propertyMaxCharactersInLine
Get how many characters can fit in a single line.
(Inherited from Paragraph.)
Public propertyMaxSize
If defined, will limit the maximum size of this entity when calculating size. This is especially useful for entities with size that depends on their parent entity size, for example if you define an entity to take 20% of its parent space but can't be more than 200 pixels width.
(Inherited from Entity.)
Public propertyMinSize
If defined, will limit the minimum size of this entity when calculating size. This is especially useful for entities with size that depends on their parent entity size, for example if you define an entity to take 20% of its parent space but can't be less than 200 pixels width.
(Inherited from Entity.)
Public propertyOffset
Set / get offset.
(Inherited from Entity.)
Public propertyOpacity
Entity fill color opacity - this is just a sugarcoat to access the default fill color alpha style property.
(Inherited from Entity.)
Public propertyOutlineColor
Entity outline color - this is just a sugarcoat to access the default outline color style property.
(Inherited from Entity.)
Public propertyOutlineOpacity
Entity outline color opacity - this is just a sugarcoat to access the default outline color alpha style property.
(Inherited from Entity.)
Public propertyOutlineWidth
Entity outline width - this is just a sugarcoat to access the default outline color style property.
(Inherited from Entity.)
Public propertyPadding
Entity padding - this is just a sugarcoat to access the default padding style property.
(Inherited from Entity.)
Public propertyParent
Get the direct parent of this entity.
(Inherited from Entity.)
Public propertyRawStyleSheet
Get / set raw stylesheet.
(Inherited from Entity.)
Public propertyScale
Entity scale - this is just a sugarcoat to access the default scale style property.
(Inherited from Entity.)
Public propertyShadowColor
Entity shadow color - this is just a sugarcoat to access the default shadow color style property.
(Inherited from Entity.)
Public propertyShadowOffset
Entity shadow offset - this is just a sugarcoat to access the default shadow offset style property.
(Inherited from Entity.)
Public propertyShadowScale
Entity shadow scale - this is just a sugarcoat to access the default shadow scale style property.
(Inherited from Entity.)
Public propertySize
Entity current size property.
(Inherited from Entity.)
Public propertySpaceAfter
Extra space (in pixels) to reserve *after* this entity when using Auto Anchors.
(Inherited from Entity.)
Public propertySpaceBefore
Extra space (in pixels) to reserve *before* this entity when using Auto Anchors.
(Inherited from Entity.)
Public propertyState
Current entity state (default / mouse hover / mouse down..).
(Inherited from Entity.)
Public propertyText
Get / Set the paragraph text.
(Inherited from Paragraph.)
Public propertyTextStyle
Current font style - this is just a sugarcoat to access the default font style property.
(Inherited from Paragraph.)
Public propertyVisible
Set / get visibility.
(Inherited from Entity.)
Public propertyWrapWords
Get / Set word wrap mode. If true, and text exceeded destination width, the paragraph will wrap words by adding line breaks where needed.
(Inherited from Paragraph.)
Top
See Also