MindFusion.Charting for JavaScript Programmer's Guide
LinearGradientBrush.fromObject Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Returns a LinearGradientBrush from a JSON object or string describing this brush.

Namespace: MindFusion.Drawing
File: Brush.js

## Syntax

JavaScript Copy Code
function fromObject (obj)

### Parameters

obj

  Type: void

### Return Value

Type: LinearGradientBrush
The brush object.

## Remarks

Used for backward compatibility with the JSLib class.

## See Also

LinearGradientBrush Members
LinearGradientBrush Class
MindFusion.Drawing Namespace