ViewDefaultsPackageΒΆ
viewDef.spad line 1 [edit on github]
ViewportDefaultsPackage describes default and user definable values for graphics
- axesColorDefault: () -> Palette
axesColorDefault()
returns the default color of the axes in a 2D viewport.
- axesColorDefault: Palette -> Palette
axesColorDefault(p)
sets the default color of the axes in a 2D viewport to the palettep
.
- lineColorDefault: () -> Palette
lineColorDefault()
returns the default color of lines connecting points in a 2D viewport.
- lineColorDefault: Palette -> Palette
lineColorDefault(p)
sets the default color of lines connecting points in a 2D viewport to the palettep
.
- pointColorDefault: () -> Palette
pointColorDefault()
returns the default color of points in a 2D viewport.
- pointColorDefault: Palette -> Palette
pointColorDefault(p)
sets the default color of points in a 2D viewport to the palettep
.
- pointSizeDefault: () -> PositiveInteger
pointSizeDefault()
returns the default size of the points in a 2D viewport.
- pointSizeDefault: PositiveInteger -> PositiveInteger
pointSizeDefault(i)
sets the default size of the points in a 2D viewport toi
.
- tubePointsDefault: () -> PositiveInteger
tubePointsDefault()
returns the number of points to be used when creating the circle to be used in creating a 3D tube plot.
- tubePointsDefault: PositiveInteger -> PositiveInteger
tubePointsDefault(i)
sets the number of points to use when creating the circle to be used in creating a 3D tube plot toi
.
- tubeRadiusDefault: () -> DoubleFloat
tubeRadiusDefault()
returns the radius used for a 3D tube plot.
- tubeRadiusDefault: Float -> DoubleFloat
tubeRadiusDefault(r)
sets the default radius for a 3D tube plot tor
.
- unitsColorDefault: () -> Palette
unitsColorDefault()
returns the default color of the unit ticks in a 2D viewport.
- unitsColorDefault: Palette -> Palette
unitsColorDefault(p)
sets the default color of the unit ticks in a 2D viewport to the palettep
.
- var1StepsDefault: () -> PositiveInteger
var1StepsDefault()
is the current setting for the number of steps to take when creating a 3D mesh in the direction of the first defined free variable (a free variable is considered defined when its range is specified (e.g.x=0
..10)).
- var1StepsDefault: PositiveInteger -> PositiveInteger
var1StepsDefault(i)
sets the number of steps to take when creating a 3D mesh in the direction of the first defined free variable toi
(a free variable is considered defined when its range is specified (e.g.x=0
..10)).
- var2StepsDefault: () -> PositiveInteger
var2StepsDefault()
is the current setting for the number of steps to take when creating a 3D mesh in the direction of the first defined free variable (a free variable is considered defined when its range is specified (e.g.x=0
..10)).
- var2StepsDefault: PositiveInteger -> PositiveInteger
var2StepsDefault(i)
sets the number of steps to take when creating a 3D mesh in the direction of the first defined free variable toi
(a free variable is considered defined when its range is specified (e.g.x=0
..10)).
- viewDefaults: () -> Void
viewDefaults()
resets all the default graphics settings.
- viewPosDefault: () -> List NonNegativeInteger
viewPosDefault()
returns the defaultX
andY
position of a viewport window unless overriden explicityly, newly created viewports will have thisX
andY
coordinate.
- viewPosDefault: List NonNegativeInteger -> List NonNegativeInteger
viewPosDefault([x, y])
sets the defaultX
andY
position of a viewport window unless overriden explicityly, newly created viewports will have thX
andY
coordinatesx
,y
.
- viewSizeDefault: () -> List PositiveInteger
viewSizeDefault()
returns the default viewport width and height.
- viewSizeDefault: List PositiveInteger -> List PositiveInteger
viewSizeDefault([w, h])
sets the default viewport width tow
and height toh
.
- viewWriteAvailable: () -> List String
viewWriteAvailable()
returns a list of available methods for writing, such as BITMAP, POSTSCRIPT, etc.