Initializes a new instance of the Text class.
Namespace: MindFusion.Drawing
File: Text.js
JavaScript Copy Code |
---|
function Text (text, bounds) |
Type: String
String. The text to be displayed in the container.
Type: Rect
Rect. The bounds of the container.