eframe - EpsTk

# eframe

draw frame

#### Synopsis

eframe(xPos,yPos,width,height[,lineWidth[,dash[,color [,rotation[,cornerRadius]]]]])

#### Parameter(s)

xPos :

x-Position of sw-corner of frame

yPos :

y-Position of sw-corner of frame

width :

width of frame

height :

height of frame

lineWidth :

linewidth of frame

default: lineWidth=eLineWidth

dash :

if a scalar and

dash=0 solid frame,

dash>0 dash length

dash<0 fill frame with color

default: dash=eLineDash

if a vector with size 1xn, then dash describes

a dash combination [space lineLength1 lineLength2 ...]

if a matrix and color=-1

dash is the image of frame and filled with RGB values

(value=R*2^16+G*2^8+B and R,G,B are integer of 0:255)

if a matrix and color is a colormap

dash is the image of frame

and filled with indices of colormap

if a string then dash is filename of a JPEG-file

color :

if dash>=0 vector of frame color ([r g b])

if dash<0 vector of background color

if dash a matrix then colormap of image or -1

default: dash=eLineColor

rotation :

rotation of frame (in deg)

cornerRadius :

radius of rounded corner

default: 0=no rounded corner

#### Global Parameter(s)

- eLineWidth
- eLineDash
- eLineColor

Close