Click or drag to resize

IBackgroundStyleDraw(IGraphicsContext3D, RectangleD3D, IMaterial) Method

Draws the specified background

Namespace: Altaxo.Graph.Graph3D.Background
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
void Draw(
	IGraphicsContext3D g,
	RectangleD3D itemRectangle,
	IMaterial overrideMaterial
)

Parameters

g  IGraphicsContext3D
The drawing context.
itemRectangle  RectangleD3D
Position and size of the item for which this background is intended. For text, this is the position and size of the text rectangle, already with a margin around. Draw the background not with its own material, but with the material specified in this parameter. This parameter should have the same size as was used in the previous call to Measure(RectangleD3D)
overrideMaterial  IMaterial

[Missing <param name="overrideMaterial"/> documentation for "M:Altaxo.Graph.Graph3D.Background.IBackgroundStyle.Draw(Altaxo.Graph.Graph3D.GraphicsContext.IGraphicsContext3D,Altaxo.Geometry.RectangleD3D,Altaxo.Drawing.D3D.IMaterial)"]

See Also