new KonvaText()
Methods
- 
    delete()
- 
    
    Delete current Markup object 
- 
    enableMouseEditing(value)
- 
    
    Set Mouse editing feature Parameters:Name Type Description valuetrue / false 
- 
    getColor()
- 
    
    Get color of the Markup instance 
- 
    getFontSize()
- 
    
    Get font size. Default value is 34 
- 
    getPosition()
- 
    
    Get position of the Text 
- 
    getRotation()
- 
    
    Get rotation of the Markup object 
- 
    getText()
- 
    
    Get Text value 
- 
    getZIndex()
- 
    
    Get Z-Index of the Markup object 
- 
    id()
- 
    
    Get an internal identificator of the object. Not unique 
- 
    ref()
- 
    
    Link to Library object 
- 
    setColor(hex)
- 
    
    Set color of the Markup instance Parameters:Name Type Description hexcolor in #hex format. Default: #ff0000
- 
    setFontSize(size)
- 
    
    Set font size. Default value is 34 Parameters:Name Type Description size
- 
    setPosition(x, y)
- 
    
    Set position of the Text Parameters:Name Type Description xvalue of X coordinate yvalue of Y coordinate 
- 
    setRotation(degrees)
- 
    
    Set rotation of the Markup object Parameters:Name Type Description degreesnumber of degress to rotate 
- 
    setText(text)
- 
    
    Set Text value Parameters:Name Type Description textstring value 
- 
    setZIndex(zIndex)
- 
    
    Set Z-Index of the Markup object Parameters:Name Type Description zIndexinteger value of Z-Index 
- 
    type()
- 
    
    Get type of the Markup object 
 Client.js
Client.js