# Cross

ostrat.geom.Cross
object Cross

Utility object, contains various methods for creating crosses.

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Cross.type

## Members list

### Value members

#### Concrete methods

def apply(cen: Pt2, scale: Double): LineSegArr

apply method ofr square cross with a width and height of the scale parameter.

apply method ofr square cross with a width and height of the scale parameter.

## Attributes

def apply(cenX: Double, cenY: Double, scale: Double): LineSegArr

apply method for square cross with a width and height of the scale parameter.

apply method for square cross with a width and height of the scale parameter.

## Attributes

def diag(cen: Pt2, scale: Double): LineSegArr

Diagonal cross with a width and height of the scale parameter.

Diagonal cross with a width and height of the scale parameter.

## Attributes

def diag(cenX: Double, cenY: Double, scale: Double): LineSegArr

Diagonal cross with a width and height of the scale parameter..

Diagonal cross with a width and height of the scale parameter..

## Attributes

def diagDraw(cen: Pt2, scale: Double, lineWidth: Double, colour: Colour): LinesDraw

Draws a diagonal cross with a width and height of the scale parameter.

Draws a diagonal cross with a width and height of the scale parameter.

## Attributes

def diagDraw(cenX: Double, cenY: Double, scale: Double, lineWidth: Double, colour: Colour): LinesDraw

Draws a diagonal cross with a width and height of the scale parameter.

Draws a diagonal cross with a width and height of the scale parameter.

## Attributes

def draw(cen: Pt2, scale: Double, lineWidth: Double, colour: Colour): LinesDraw

Draws a square cross with a width and height of the scale parameter.

Draws a square cross with a width and height of the scale parameter.

## Attributes

def draw(cenX: Double, cenY: Double, scale: Double, lineWidth: Double, colour: Colour): LinesDraw

Draws a square cross with a width and height of the scale parameter.

Draws a square cross with a width and height of the scale parameter.