Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.TextSprite Class Reference

A sprite that represents text. More...

Inheritance diagram for Ext.Net.TextSprite:
Ext.Net.AbstractSprite Ext.Net.BaseItem Ext.Net.IXObject Ext.Net.IBase Ext.Net.ChartLabel

Classes

class  Builder
 
class  Config
 

Public Member Functions

 TextSprite ()
 
TextSprite.Builder ToBuilder ()
 
override IControlBuilder ToNativeBuilder ()
 
 TextSprite (Config config)
 
- Public Member Functions inherited from Ext.Net.AbstractSprite
virtual void Destroy ()
 Removes the sprite and clears all listeners. More...
 
virtual void Hide ()
 Hides the sprite. More...
 
virtual void Show ()
 Show the sprite. More...
 
virtual void SetAttributes (Dictionary< string, object > attrs, bool bypassNormalization)
 Change the attributes of the sprite. More...
 
virtual void SetAttributes (Dictionary< string, object > attrs)
 Change the attributes of the sprite. More...
 
virtual void SetAttributes (AbstractSprite attrs, bool bypassNormalization)
 Change the attributes of the sprite. More...
 
virtual void SetAttributes (AbstractSprite attrs)
 Change the attributes of the sprite. More...
 
virtual string Serialize ()
 
- Public Member Functions inherited from Ext.Net.BaseItem
virtual bool HasExplicitValue (string name)
 
void EnsureDataBind ()
 
virtual void Call (string name)
 
virtual void Call (string name, params object[] args)
 
virtual void AddScript (string script)
 
virtual void AddScript (string script, params object[] args)
 
virtual bool IsEmptyObject ()
 
Apply< T > (IApply config)
 
BaseItem Apply (object config)
 
virtual void LoadViewState (object state)
 
virtual object SaveViewState ()
 
virtual void TrackViewState ()
 
void SetDirty ()
 
virtual void DataBind ()
 

Static Public Member Functions

static implicit operator TextSprite (TextSprite.Config config)
 

Properties

override string Type [get]
 
virtual string Font [get, set]
 The font displayed. Defaults to: '10px sans-serif' More...
 
virtual string FontFamily [get, set]
 The family of the font displayed. Defaults to: 'sans-serif' More...
 
virtual string FontSize [get, set]
 The size of the font displayed. Defaults to: '10px' More...
 
virtual string FontStyle [get, set]
 The style of the font displayed. {normal, italic, oblique} Defaults to: '' More...
 
virtual string FontVariant [get, set]
 The variant of the font displayed. {normal, small-caps} Defaults to: '' More...
 
virtual string FontWeight [get, set]
 The weight of the font displayed. {normal, bold, bolder, lighter} Defaults to: '' More...
 
virtual string Text [get, set]
 The text represented in the sprite. Defaults to: '' More...
 
virtual TextSpriteAlign TextAlign [get, set]
 The alignment of the text displayed. {left, right, center, start, end} Defaults to: 'start' More...
 
virtual DominantBaseline TextBaseline [get, set]
 
virtual ? int? X [get, set]
 
virtual ? int? Y [get, set]
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.AbstractSprite
virtual string Type [get]
 
virtual DrawContainer Draw [get, set]
 
virtual string SpriteID [get, set]
 
virtual ? int? Height [get, set]
 The height of the sprite. Defaults to: 1 More...
 
virtual ? int? Width [get, set]
 The width of the sprite. Defaults to: 1 More...
 
virtual ? int? X [get, set]
 The position of the sprite on the x-axis. Defaults to: 0 More...
 
virtual ? int? Y [get, set]
 The position of the sprite on the y-axis. Defaults to: 0 More...
 
virtual int[] LineDash [get, set]
 array of non-negative numbers specifying a dash/space sequence. More...
 
virtual ? int? LineDashOffset [get, set]
 A number specifying how far into the line dash sequence drawing commences. More...
 
virtual ? double? FillOpacity [get, set]
 The opacity of the fill. Limited from 0 to 1. Defaults to: 1 More...
 
virtual string FillStyle [get, set]
 The color of the shape (a CSS color value). Defaults to: "none" More...
 
virtual ? double? GlobalAlpha [get, set]
 The opacity of the sprite. Limited from 0 to 1. Defaults to: 1 More...
 
virtual ? double? Opacity [get, set]
 The opacity of the sprite. Limited from 0 to 1. Defaults to: 1 More...
 
virtual string GlobalCompositeOperation [get, set]
 Indicates how source images are drawn onto a destination image. globalCompositeOperation attribute is not supported by the SVG and VML (excanvas) engines. Defaults to: source-over More...
 
virtual ? bool? Hidden [get, set]
 Determines whether or not the sprite is hidden. Defaults to: false More...
 
virtual StrokeLinecap LineCap [get, set]
 The style of the line caps. Defaults to: "butt" More...
 
virtual StrokeLinejoin Linejoin [get, set]
 The style of the line join. Defaults to: "miter" More...
 
virtual ? double? LineWidth [get, set]
 The width of the line stroke. Defaults to: 1 More...
 
virtual ? int? MiterLimit [get, set]
 Sets the distance between the inner corner and the outer corner where two lines meet. Defaults to: 10 More...
 
virtual ? int? RotationCenterX [get, set]
 The central coordinate of the sprite's scale operation on the x-axis. Defaults to: null More...
 
virtual ? int? RotationCenterY [get, set]
 The central coordinate of the sprite's scale operation on the y-axis. Defaults to: null More...
 
virtual ? double? RotationRads [get, set]
 The radians of rotation of the sprite. Defaults to 0. More...
 
virtual ? int? RotationDegrees [get, set]
 
virtual string RotationDegreesProxy [get]
 
virtual ? int? ScalingCenterX [get, set]
 The central coordinate of the sprite's scale operation on the x-axis. Defaults to: null More...
 
virtual ? int? ScalingCenterY [get, set]
 The central coordinate of the sprite's scale operation on the y-axis. Defaults to: null More...
 
virtual ? double? Scaling [get, set]
 The scaling of the sprite on the xy-axis. Defaults to: 1 More...
 
virtual ? double? ScalingX [get, set]
 The scaling of the sprite on the x-axis. Defaults to: 1 More...
 
virtual ? double? ScalingY [get, set]
 The scaling of the sprite on the y-axis. Defaults to: 1 More...
 
virtual ? int? ShadowBlur [get, set]
 The amount blur used on the shadow. Defaults to: 0 More...
 
virtual string ShadowColor [get, set]
 The amount blur used on the shadow. Defaults to: 0 More...
 
virtual ? int? ShadowOffsetX [get, set]
 The offset of the sprite's shadow on the x-axis. Defaults to: 0 More...
 
virtual ? int? ShadowOffsetY [get, set]
 The offset of the sprite's shadow on the y-axis. Defaults to: 0 More...
 
virtual ? double? StrokeOpacity [get, set]
 The opacity of the stroke. Limited from 0 to 1. Defaults to: 1 More...
 
virtual string StrokeStyle [get, set]
 The color of the stroke (a CSS color value). Defaults to: "none" More...
 
virtual bool TransformFillStroke [get, set]
 Determines whether the fill and stroke are affected by sprite transformations. Defaults to: false More...
 
virtual ? double? TranslationX [get, set]
 The translation of the sprite on the x-axis. Defaults to: 0 More...
 
virtual ? double? TranslationY [get, set]
 The translation of the sprite on the y-axis. Defaults to: 0 More...
 
virtual ? int? ZIndex [get, set]
 The stacking order of the sprite. Defaults to: 0 More...
 
virtual string Proxy [get]
 
virtual ? int? Duration [get, set]
 Time in milliseconds for the animation to last. More...
 
virtual Easing Easing [get, set]
 This describes how the intermediate values used during a transition will be calculated. It allows for a transition to change speed over its duration. Note that cubic-bezier will create a custom easing curve following the CSS3 transition-timing-function specification http://www.w3.org/TR/css3-transitions/-transition-timing-function_tag. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2). All values must be in the range [0, 1] or the definition is invalid More...
 
virtual string EasingArgs [get, set]
 
virtual string EasingProxy [get]
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.BaseItem
virtual string InstanceOf [get]
 
ItemState State [get]
 
virtual DefaultValueMode DefaultValueMode [get, set]
 
virtual bool DesignMode [get]
 
bool AutoDataBind [get, set]
 
ResourceManager ResourceManager [get]
 
virtual Control Owner [get, set]
 The Owner Control for this Listener. More...
 
virtual bool IsDefault [get]
 Does this object currently represent it's default state. More...
 
bool IsTrackingViewState [get]
 
EventHandlerList Events [get]
 
EventHandler DataBinding
 
Control?? BindingContainer [get]
 
virtual ConfigItemCollection?? CustomConfig [get]
 Collection of custom js config More...
 
virtual ConfigOptionsCollection ConfigOptions [get]
 
virtual ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
System.Web.Mvc.HtmlHelper?? HtmlHelper [get, set]
 
- Properties inherited from Ext.Net.IXObject
ConfigOptionsCollection ConfigOptions [get]
 
ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
DefaultValueMode DefaultValueMode [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from Ext.Net.AbstractSprite
virtual void CallTemplate (string name, params object[] args)
 
- Protected Member Functions inherited from Ext.Net.BaseItem
 BaseItem (Control owner)
 
 BaseItem ()
 
virtual void OwnerUpdate (Control owner)
 
virtual void OnDataBinding (EventArgs e)
 

Detailed Description

A sprite that represents text.

Constructor & Destructor Documentation

◆ TextSprite() [1/2]

Ext.Net.TextSprite.TextSprite ( )
inline

◆ TextSprite() [2/2]

Ext.Net.TextSprite.TextSprite ( Config  config)
inline

Member Function Documentation

◆ operator TextSprite()

static implicit Ext.Net.TextSprite.operator TextSprite ( TextSprite.Config  config)
inlinestatic

◆ ToBuilder()

TextSprite.Builder Ext.Net.TextSprite.ToBuilder ( )
inline

◆ ToNativeBuilder()

override IControlBuilder Ext.Net.TextSprite.ToNativeBuilder ( )
inlinevirtual

Reimplemented from Ext.Net.BaseItem.

Property Documentation

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.TextSprite.ConfigOptions
get

◆ Font

virtual string Ext.Net.TextSprite.Font
getset

The font displayed. Defaults to: '10px sans-serif'

◆ FontFamily

virtual string Ext.Net.TextSprite.FontFamily
getset

The family of the font displayed. Defaults to: 'sans-serif'

◆ FontSize

virtual string Ext.Net.TextSprite.FontSize
getset

The size of the font displayed. Defaults to: '10px'

◆ FontStyle

virtual string Ext.Net.TextSprite.FontStyle
getset

The style of the font displayed. {normal, italic, oblique} Defaults to: ''

◆ FontVariant

virtual string Ext.Net.TextSprite.FontVariant
getset

The variant of the font displayed. {normal, small-caps} Defaults to: ''

◆ FontWeight

virtual string Ext.Net.TextSprite.FontWeight
getset

The weight of the font displayed. {normal, bold, bolder, lighter} Defaults to: ''

◆ Text

virtual string Ext.Net.TextSprite.Text
getset

The text represented in the sprite. Defaults to: ''

◆ TextAlign

virtual TextSpriteAlign Ext.Net.TextSprite.TextAlign
getset

The alignment of the text displayed. {left, right, center, start, end} Defaults to: 'start'

◆ TextBaseline

virtual DominantBaseline Ext.Net.TextSprite.TextBaseline
getset

◆ Type

override string Ext.Net.TextSprite.Type
get

◆ X

virtual ? int? Ext.Net.TextSprite.X
getset

◆ Y

virtual ? int? Ext.Net.TextSprite.Y
getset


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