added style method for change style properties canvas node.