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

More...

Inheritance diagram for Ext.Net.Sprite:
Ext.Net.AbstractSprite Ext.Net.BaseItem Ext.Net.IXObject Ext.Net.IBase Ext.Net.AxisSprite Ext.Net.LimitSprite

Classes

class  Builder
 
class  Config
 

Public Member Functions

 Sprite ()
 
virtual void Add (AbstractSprite sprite)
 Adds a sprite to the composite. More...
 
virtual void AddAll (IEnumerable< AbstractSprite > sprites)
 Adds a Sprite to the composite. More...
 
Sprite.Builder ToBuilder ()
 
override IControlBuilder ToNativeBuilder ()
 
 Sprite (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 Sprite (Sprite.Config config)
 

Protected Member Functions

virtual void Items_AfterSpriteAdd (AbstractSprite item)
 
- 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)
 

Properties

virtual SpriteType SpriteType [get, set]
 The type of the sprite More...
 
virtual bool Anticlockwise [get, set]
 Determines whether or not the arc is drawn clockwise. Defaults to: false More...
 
virtual ? int? EndAngle [get, set]
 The ending angle of the arc. Defaults to: Math.PI*2 More...
 
virtual ? int? StartAngle [get, set]
 The beginning angle of the arc. Defaults to: 0 More...
 
virtual ? int? CX [get, set]
 The center coordinate of the sprite on the x-axis. More...
 
virtual ? int? CY [get, set]
 The center coordinate of the sprite on the y-axis. More...
 
virtual ? int? Radius [get, set]
 The radius of the sprite. More...
 
virtual ? int? AxisRotation [get, set]
 The rotation of the sprite about its axis. Defaults to: 0 More...
 
virtual ? int? RX [get, set]
 The radius of the sprite on the x-axis. Defaults to: 1 More...
 
virtual ? int? RY [get, set]
 The radius of the sprite on the y-axis. Defaults to: 1 More...
 
virtual string Src [get, set]
 The image source of the sprite. More...
 
virtual string SrcProxy [get]
 
virtual string Path [get, set]
 The SVG based path string used by the sprite. More...
 
virtual ? int? CenterX [get, set]
 The center coordinate of the sprite on the x-axis. Defaults to: 0 More...
 
virtual ? int? CenterY [get, set]
 The center coordinate of the sprite on the y-axis. Defaults to: 0 More...
 
virtual ? int? EndRho [get, set]
 The ending point of the radius of the sprite. Defaults to: 150 More...
 
virtual ? int? StartRho [get, set]
 The starting point of the radius of the sprite. Defaults to: 0 More...
 
virtual ? int? Margin [get, set]
 The margin of the sprite from the center of pie. Defaults to: 0 More...
 
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]
 
SpriteCollection Items [get]
 
override DrawContainer Draw [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]
 

Detailed Description

Constructor & Destructor Documentation

◆ Sprite() [1/2]

Ext.Net.Sprite.Sprite ( )
inline

◆ Sprite() [2/2]

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

Member Function Documentation

◆ Add()

virtual void Ext.Net.Sprite.Add ( AbstractSprite  sprite)
inlinevirtual

Adds a sprite to the composite.

Parameters
spriteSprite object of config.

◆ AddAll()

virtual void Ext.Net.Sprite.AddAll ( IEnumerable< AbstractSprite sprites)
inlinevirtual

Adds a Sprite to the composite.

Parameters
spritesOne or more Sprite objects of configs.

◆ Items_AfterSpriteAdd()

virtual void Ext.Net.Sprite.Items_AfterSpriteAdd ( AbstractSprite  item)
inlineprotectedvirtual

◆ operator Sprite()

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

◆ ToBuilder()

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

◆ ToNativeBuilder()

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

Reimplemented from Ext.Net.BaseItem.

Property Documentation

◆ Anticlockwise

virtual bool Ext.Net.Sprite.Anticlockwise
getset

Determines whether or not the arc is drawn clockwise. Defaults to: false

◆ AxisRotation

virtual ? int? Ext.Net.Sprite.AxisRotation
getset

The rotation of the sprite about its axis. Defaults to: 0

◆ CenterX

virtual ? int? Ext.Net.Sprite.CenterX
getset

The center coordinate of the sprite on the x-axis. Defaults to: 0

◆ CenterY

virtual ? int? Ext.Net.Sprite.CenterY
getset

The center coordinate of the sprite on the y-axis. Defaults to: 0

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.Sprite.ConfigOptions
get

◆ CX

virtual ? int? Ext.Net.Sprite.CX
getset

The center coordinate of the sprite on the x-axis.

◆ CY

virtual ? int? Ext.Net.Sprite.CY
getset

The center coordinate of the sprite on the y-axis.

◆ Draw

override DrawContainer Ext.Net.Sprite.Draw
getset

◆ EndAngle

virtual ? int? Ext.Net.Sprite.EndAngle
getset

The ending angle of the arc. Defaults to: Math.PI*2

◆ EndRho

virtual ? int? Ext.Net.Sprite.EndRho
getset

The ending point of the radius of the sprite. Defaults to: 150

◆ Font

virtual string Ext.Net.Sprite.Font
getset

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

◆ FontFamily

virtual string Ext.Net.Sprite.FontFamily
getset

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

◆ FontSize

virtual string Ext.Net.Sprite.FontSize
getset

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

◆ FontStyle

virtual string Ext.Net.Sprite.FontStyle
getset

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

◆ FontVariant

virtual string Ext.Net.Sprite.FontVariant
getset

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

◆ FontWeight

virtual string Ext.Net.Sprite.FontWeight
getset

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

◆ Items

SpriteCollection Ext.Net.Sprite.Items
get

◆ Margin

virtual ? int? Ext.Net.Sprite.Margin
getset

The margin of the sprite from the center of pie. Defaults to: 0

◆ Path

virtual string Ext.Net.Sprite.Path
getset

The SVG based path string used by the sprite.

◆ Radius

virtual ? int? Ext.Net.Sprite.Radius
getset

The radius of the sprite.

◆ RX

virtual ? int? Ext.Net.Sprite.RX
getset

The radius of the sprite on the x-axis. Defaults to: 1

◆ RY

virtual ? int? Ext.Net.Sprite.RY
getset

The radius of the sprite on the y-axis. Defaults to: 1

◆ SpriteType

virtual SpriteType Ext.Net.Sprite.SpriteType
getset

The type of the sprite

◆ Src

virtual string Ext.Net.Sprite.Src
getset

The image source of the sprite.

◆ SrcProxy

virtual string Ext.Net.Sprite.SrcProxy
getprotected

◆ StartAngle

virtual ? int? Ext.Net.Sprite.StartAngle
getset

The beginning angle of the arc. Defaults to: 0

◆ StartRho

virtual ? int? Ext.Net.Sprite.StartRho
getset

The starting point of the radius of the sprite. Defaults to: 0

◆ Text

virtual string Ext.Net.Sprite.Text
getset

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

◆ TextAlign

virtual TextSpriteAlign Ext.Net.Sprite.TextAlign
getset

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

◆ TextBaseline

virtual DominantBaseline Ext.Net.Sprite.TextBaseline
getset

◆ X

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

◆ Y

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


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