Shape

com.phasmidsoftware.xmldoc.kml.Shape
See theShape companion object
case class Shape($: Value)

Represents a shape based on the ShapeEnum.Value enumeration.

This case class encapsulates a single shape value, which can represent predefined shapes such as rectangle, cylinder, or sphere. The shape parameter is of type Shapes.Value, which is a value from the Shapes enumeration.

CONSIDER renaming shape as $ (for consistency with other similar Kml objects).

This class integrates with the Extractors and Renderers frameworks to support:

  • Automatic extraction using an implicit Extractor[Shape].
  • Custom rendering of shape instances through an implicit Renderer[Shape].

The companion object for this class provides the necessary extractor and renderer implementations for seamless integration.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product