public Shape getShape() {
        return shape;
    }
Gets the shape associated with the text.

@return Returns the shape if the text is associated with one. Otherwise, returns null.
smithy-model/src/main/java/software/amazon/smithy/model/knowledge/TextInstance.java