Package | Description |
---|---|
org.graphstream.ui.graphicGraph | |
org.graphstream.ui.graphicGraph.stylesheet | |
org.graphstream.ui.graphicGraph.stylesheet.parser | |
org.graphstream.ui.swingViewer.util |
Modifier and Type | Class and Description |
---|---|
class |
StyleGroup
A group of graph elements that share the same style.
|
Modifier and Type | Field and Description |
---|---|
Style |
Rule.style
The style.
|
Modifier and Type | Method and Description |
---|---|
Style |
StyleSheet.getDefaultEdgeStyle()
The default style for edges.
|
Style |
StyleSheet.getDefaultGraphStyle()
The default style for graphs.
|
Style |
StyleSheet.getDefaultNodeStyle()
The default style for nodes.
|
Style |
StyleSheet.getDefaultSpriteStyle()
The default style for sprites.
|
Style |
Rule.getStyle()
This rule style.
|
Modifier and Type | Method and Description |
---|---|
void |
Style.augment(Style other)
Copy all the settings of the other style that are set, excepted the
parent.
|
void |
Rule.setStyle(Style style)
Change the style.
|
Modifier and Type | Method and Description |
---|---|
void |
StyleSheetParser.style(Style style) |
void |
StyleSheetParser.styles(Style style) |
void |
StyleSheetParser.stylesStart(Style style) |
Modifier and Type | Method and Description |
---|---|
static Stroke |
StrokeFactory.generateStroke(Style style,
GraphMetrics metrics)
Generate a stroke of the appropriate width and style according to the
given style and metrics.
|
static Paint |
GradientFactory.gradientInArea(int x0,
int y0,
int width,
int height,
Style style)
Generate a gradient in the given pixel area following the given style.
|
static Paint |
GradientFactory.linearGradientFromStyle(float x0,
float y0,
float x1,
float y1,
Style style)
Generate a linear gradient between two given points corresponding to the
given style.
|
static Paint |
GradientFactory.radialGradientFromStyle(float cx,
float cy,
float radius,
float fx,
float fy,
Style style)
Generate a radial gradient between whose center is at (cx,cy) with the
given radius.
|
static Paint |
GradientFactory.radialGradientFromStyle(float cx,
float cy,
float radius,
Style style) |
Copyright © 2015. All rights reserved.