dundas.BoxShadow Class

 

Inheritance Hierarchy

 
Class
   dundas.BoxShadow
 

Constructors

 
  Name Description
init Initializes a new instance of BoxShadow.
 
 

Properties

 
  Name Description
blur Gets or sets the blur distance of the shadow.
color Gets or sets the color of shadow.
hShadow Gets or sets the horizontal shadow offset.
inset Gets or sets the inset value of the shadow.
spread Gets or sets the spread distance of the shadow.
vShadow Gets or sets the vertical shadow offset.
 
 

Methods

 
  Name Description

Static
applyToElement Applies given box shadow to given element. If element null, ignored. If box shadow null, box shadow will be removed from element.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getPropertyValues Gets a list of the values of all properties.

Static
parse Creates a new instance from a string.
stringify Returns the string representation of the instance.
toCss Returns the CSS representation of the instance.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.