API
| Mark property | Getters | Setters |
|---|---|---|
| Position | pos()x()y()z() |
pos(newX, newY, newZ)x(newX)y(newY)z(newZ) |
| Size | width()height() |
width(w)height(h) |
| Shape | shape() |
shape(s) |
| Color | color()red()green()blue()alpha() |
color(r,g,b)color(r,g,b,a)red(r)green(g)blue(b)alpha(a) |
| Rotation | rotation() |
rotation(rad) |
| Texture | texture() |
texture(t) |
| Border size | borderWidth() |
borderWidth(w) |
| Border color | borderColor() |
borderColor(r,g,b)borderColor(r,g,b,a) |
| Radial clipping | radialClipping() |
radialClipping(start,stop)clippinpStart(start)clippingStop(stop) |
| Internal clipping | internalClipping() |
internalClipping(ratio) |
| Other method | Method |
|---|---|
| Link list | links() |
| Connection | connect(mark) |
| Clone | clone() |
| Delete | del() |
| Get id | id() |
| Validaion | isValid() |
| Switch buffer | show() |
| Link method | Method |
|---|---|
| Marks | source()target() |
| Delete | del() |
| DBVisFacade method | Method |
|---|---|
| View | center() |
| Camera | camera() |
| Buffer | swap() |
| Animation | animate()animate(time) |
| Layer | layerOn(layer)layerOff(layer)layerToggle(layer) |
| Rendering | renderFrame()renderFrame(time)needsRendering() |
| Mark | addMark()getMark(id)marks(id)numberOfMarks()defaultMark() |
| Link | getConnection(id) |
| Camera method | Method |
|---|---|
| Size | getWindowWidth()getWindowHeight() |
modelToScreen(model)ScreenToModel(screen)windowToScreen(window)ScreenToWindow(screen)modelToWindow(model)windowToModel(window) |
|
| Matrix | getModelVIewMatrix()getProjectionMatrix()reinitMatricies() |
| Zoom | zoom(scale, pos) |
| Text mehtod | Method |
|---|---|
| Text | text()text(string) |
| Font | font()font(nb) |
| Position | position()x()y()position(vector)x(newX)y(newY) |
| Rotation | rotation()rotation(rad) |
| Size | size()minTextSize()maxTextSize()size(newSize)minTextSize(newMin)maxTextSize(newMax) |
| Length | length()length(newLength) |
| Anchor | anchor()anchor(newAnchor) |