KDE 4.5 PyKDE API Reference

- KDE's Python API

# LayerInterface Class Reference

`from PyKDE4.marble import *`

Namespace: Marble.LayerInterface

## Detailed Description

## Methods

bool | render (self, Marble.GeoPainter painter, Marble.ViewportParams viewport, QString renderPos="NONE", Marble.GeoSceneLayer layer=0)
QStringList | renderPosition (self)

## Method Documentation

bool render | ( | self, |
|  | Marble.GeoPainter | painter,
|  | Marble.ViewportParams | viewport,
|  | QString | renderPos="NONE",
|  | Marble.GeoSceneLayer | layer=0
| ) |  |  |

Abstract method:
  This method is abstract and can be overridden but not called directly.

Renders the content provided by the layer on the viewport.

Returns:
  true Returns whether the rendering has been successful

QStringList renderPosition | ( |  | self ) |

Abstract method:
  This method is abstract and can be overridden but not called directly.

Preferred level in the layer stack for the rendering

Gives a preferred level in the existing layer stack where the render() method of this plugin should get executed. . Possible Values: "NONE" "STARS" "BEHIND_TARGET" "SURFACE" "HOVERS_ABOVE_SURFACE" "ATMOSPHERE" "ORBIT" "ALWAYS_ON_TOP" "FLOAT_ITEM" "USER_TOOLS"