Name | Description | |
---|---|---|
init | Initializes the brush. Called during construction. |
Name | Description | |
---|---|---|
brushType | Gets the type of the brush. This value is used by the server to identify the brush type. This value cannot be set in JavaScript. Instead, the derived class type should be used. Inherited from dundas.controls.Brush. | |
imageHeight | Gets or sets the last known height of the image. This is used for repeating and 'auto' when rendering to SVG, as the image size must be known for these cases. | |
imageWidth | Gets or sets the last known width of the image. This is used for repeating and 'auto' when rendering to SVG, as the image size must be known for these cases. | |
repeat | Gets or sets how the image brush will repeat itself. | |
size | Gets or sets how the image brush will size itself. | |
src | Gets or sets the source of the image. |
Name | Description | |
---|---|---|
applyToElement | Applies this brush to an element. | |
clone | Creates a clone of this brush. | |
fromJObject | Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class. | |
getImageSize | Updates the last known width and height for the last set image. | |
getResolvedSrc | Creates a real URL from the src property, as the src property may contain an image resource protocol URL. | |
toCss | Returns the CSS representation of the color. Inherited from dundas.controls.Brush. | |
toJSON | Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class. | |
toString | Creates a string representation of this brush. |