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

A sprite is an object rendered in a drawing Ext.draw.Surface. The Sprite class itself is an abstract class and is not meant to be used directly. Every sprite in the Draw and Chart packages is a subclass of the Ext.draw.sprite.Sprite. More...

Inheritance diagram for Ext.Net.AbstractSprite:
Ext.Net.BaseItem Ext.Net.IXObject Ext.Net.IBase Ext.Net.CompositeSprite Ext.Net.PathSprite Ext.Net.Sprite Ext.Net.TextSprite Ext.Net.CircleSprite Ext.Net.EllipseSprite Ext.Net.RectSprite Ext.Net.SectorSprite Ext.Net.AxisSprite Ext.Net.LimitSprite Ext.Net.ChartLabel Ext.Net.ArcSprite Ext.Net.EllipticalArcSprite Ext.Net.ImageSprite Ext.Net.SeriesSprite

Classes

class  Builder
 
class  Config
 

Public Member Functions

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 ()
 
virtual IControlBuilder ToNativeBuilder ()
 

Protected Member Functions

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 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

A sprite is an object rendered in a drawing Ext.draw.Surface. The Sprite class itself is an abstract class and is not meant to be used directly. Every sprite in the Draw and Chart packages is a subclass of the Ext.draw.sprite.Sprite.

Member Function Documentation

◆ CallTemplate()

virtual void Ext.Net.AbstractSprite.CallTemplate ( string  name,
params object[]  args 
)
inlineprotectedvirtual

◆ Destroy()

virtual void Ext.Net.AbstractSprite.Destroy ( )
inlinevirtual

Removes the sprite and clears all listeners.

◆ Hide()

virtual void Ext.Net.AbstractSprite.Hide ( )
inlinevirtual

Hides the sprite.

◆ Serialize()

virtual string Ext.Net.AbstractSprite.Serialize ( )
inlinevirtual

Returns

◆ SetAttributes() [1/4]

virtual void Ext.Net.AbstractSprite.SetAttributes ( AbstractSprite  attrs)
inlinevirtual

Change the attributes of the sprite.

Parameters
attrsattributes to be changed on the sprite.

◆ SetAttributes() [2/4]

virtual void Ext.Net.AbstractSprite.SetAttributes ( AbstractSprite  attrs,
bool  bypassNormalization 
)
inlinevirtual

Change the attributes of the sprite.

Parameters
attrsattributes to be changed on the sprite.
bypassNormalizationtrue to avoid normalization of the given changes.

◆ SetAttributes() [3/4]

virtual void Ext.Net.AbstractSprite.SetAttributes ( Dictionary< string, object >  attrs)
inlinevirtual

Change the attributes of the sprite.

Parameters
attrsattributes to be changed on the sprite.

◆ SetAttributes() [4/4]

virtual void Ext.Net.AbstractSprite.SetAttributes ( Dictionary< string, object >  attrs,
bool  bypassNormalization 
)
inlinevirtual

Change the attributes of the sprite.

Parameters
attrsattributes to be changed on the sprite.
bypassNormalizationtrue to avoid normalization of the given changes.

◆ Show()

virtual void Ext.Net.AbstractSprite.Show ( )
inlinevirtual

Show the sprite.

Property Documentation

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.AbstractSprite.ConfigOptions
get

◆ Draw

virtual DrawContainer Ext.Net.AbstractSprite.Draw
getset

◆ Duration

virtual ? int? Ext.Net.AbstractSprite.Duration
getset

Time in milliseconds for the animation to last.

◆ Easing

virtual Easing Ext.Net.AbstractSprite.Easing
getset

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

summary> Using with Bezier easing only 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 /summary>

◆ EasingProxy

virtual string Ext.Net.AbstractSprite.EasingProxy
getprotected

◆ FillOpacity

virtual ? double? Ext.Net.AbstractSprite.FillOpacity
getset

The opacity of the fill. Limited from 0 to 1. Defaults to: 1

◆ FillStyle

virtual string Ext.Net.AbstractSprite.FillStyle
getset

The color of the shape (a CSS color value). Defaults to: "none"

◆ GlobalAlpha

virtual ? double? Ext.Net.AbstractSprite.GlobalAlpha
getset

The opacity of the sprite. Limited from 0 to 1. Defaults to: 1

◆ GlobalCompositeOperation

virtual string Ext.Net.AbstractSprite.GlobalCompositeOperation
getset

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

◆ Height

virtual ? int? Ext.Net.AbstractSprite.Height
getset

The height of the sprite. Defaults to: 1

◆ Hidden

virtual ? bool? Ext.Net.AbstractSprite.Hidden
getset

Determines whether or not the sprite is hidden. Defaults to: false

◆ LineCap

virtual StrokeLinecap Ext.Net.AbstractSprite.LineCap
getset

The style of the line caps. Defaults to: "butt"

◆ LineDash

virtual int [] Ext.Net.AbstractSprite.LineDash
getset

array of non-negative numbers specifying a dash/space sequence.

◆ LineDashOffset

virtual ? int? Ext.Net.AbstractSprite.LineDashOffset
getset

A number specifying how far into the line dash sequence drawing commences.

◆ Linejoin

virtual StrokeLinejoin Ext.Net.AbstractSprite.Linejoin
getset

The style of the line join. Defaults to: "miter"

◆ LineWidth

virtual ? double? Ext.Net.AbstractSprite.LineWidth
getset

The width of the line stroke. Defaults to: 1

◆ MiterLimit

virtual ? int? Ext.Net.AbstractSprite.MiterLimit
getset

Sets the distance between the inner corner and the outer corner where two lines meet. Defaults to: 10

◆ Opacity

virtual ? double? Ext.Net.AbstractSprite.Opacity
getset

The opacity of the sprite. Limited from 0 to 1. Defaults to: 1

◆ Proxy

virtual string Ext.Net.AbstractSprite.Proxy
get

◆ RotationCenterX

virtual ? int? Ext.Net.AbstractSprite.RotationCenterX
getset

The central coordinate of the sprite's scale operation on the x-axis. Defaults to: null

◆ RotationCenterY

virtual ? int? Ext.Net.AbstractSprite.RotationCenterY
getset

The central coordinate of the sprite's scale operation on the y-axis. Defaults to: null

◆ RotationDegrees

virtual ? int? Ext.Net.AbstractSprite.RotationDegrees
getset

◆ RotationDegreesProxy

virtual string Ext.Net.AbstractSprite.RotationDegreesProxy
getprotected

◆ RotationRads

virtual ? double? Ext.Net.AbstractSprite.RotationRads
getset

The radians of rotation of the sprite. Defaults to 0.

◆ Scaling

virtual ? double? Ext.Net.AbstractSprite.Scaling
getset

The scaling of the sprite on the xy-axis. Defaults to: 1

◆ ScalingCenterX

virtual ? int? Ext.Net.AbstractSprite.ScalingCenterX
getset

The central coordinate of the sprite's scale operation on the x-axis. Defaults to: null

◆ ScalingCenterY

virtual ? int? Ext.Net.AbstractSprite.ScalingCenterY
getset

The central coordinate of the sprite's scale operation on the y-axis. Defaults to: null

◆ ScalingX

virtual ? double? Ext.Net.AbstractSprite.ScalingX
getset

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

◆ ScalingY

virtual ? double? Ext.Net.AbstractSprite.ScalingY
getset

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

◆ ShadowBlur

virtual ? int? Ext.Net.AbstractSprite.ShadowBlur
getset

The amount blur used on the shadow. Defaults to: 0

◆ ShadowColor

virtual string Ext.Net.AbstractSprite.ShadowColor
getset

The amount blur used on the shadow. Defaults to: 0

◆ ShadowOffsetX

virtual ? int? Ext.Net.AbstractSprite.ShadowOffsetX
getset

The offset of the sprite's shadow on the x-axis. Defaults to: 0

◆ ShadowOffsetY

virtual ? int? Ext.Net.AbstractSprite.ShadowOffsetY
getset

The offset of the sprite's shadow on the y-axis. Defaults to: 0

◆ SpriteID

virtual string Ext.Net.AbstractSprite.SpriteID
getset

◆ StrokeOpacity

virtual ? double? Ext.Net.AbstractSprite.StrokeOpacity
getset

The opacity of the stroke. Limited from 0 to 1. Defaults to: 1

◆ StrokeStyle

virtual string Ext.Net.AbstractSprite.StrokeStyle
getset

The color of the stroke (a CSS color value). Defaults to: "none"

◆ TransformFillStroke

virtual bool Ext.Net.AbstractSprite.TransformFillStroke
getset

Determines whether the fill and stroke are affected by sprite transformations. Defaults to: false

◆ TranslationX

virtual ? double? Ext.Net.AbstractSprite.TranslationX
getset

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

◆ TranslationY

virtual ? double? Ext.Net.AbstractSprite.TranslationY
getset

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

◆ Type

virtual string Ext.Net.AbstractSprite.Type
get

◆ Width

virtual ? int? Ext.Net.AbstractSprite.Width
getset

The width of the sprite. Defaults to: 1

◆ X

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

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

◆ Y

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

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

◆ ZIndex

virtual ? int? Ext.Net.AbstractSprite.ZIndex
getset

The stacking order of the sprite. Defaults to: 0


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