Xui.Core.Canvas.Composition.Commands.Records
Assembly: Xui.Core · C# declarations · Assembly overview
Types
struct ArcCommandstruct ArcToCommandstruct BeginPathCommandstruct BrightnessCommandstruct ClipCommandstruct ClosePathCommandstruct Commandstruct CubicCommandstruct DashesCommandstruct EllipseCommandstruct FillColorCommandstruct FillCommandstruct FillLinearCommandstruct FillPatternCommandstruct FillRadialCommandstruct FillRectCommandstruct FilterNoneCommandstruct FontCommandstruct GlobalAlphaCommandstruct ImageCommandstruct ImageCropCommandstruct LineCapCommandstruct LineDashOffsetCommandstruct LineJoinCommandstruct LineToCommandstruct LineWidthCommandstruct MiterLimitCommandstruct MoveToCommandstruct QuadraticCommandstruct RectCommandstruct RestoreCommandstruct RotateCommandstruct RoundRectCommandstruct SaveCommandstruct ScaleCommandstruct SetTransformCommandstruct StrokeColorCommandstruct StrokeCommandstruct StrokeLinearCommandstruct StrokePatternCommandstruct StrokeRadialCommandstruct StrokeRectCommandstruct SymbolCommandstruct TextAlignCommandstruct TextBaselineCommandstruct TextCommandstruct TextResourceCommandstruct TransformCommandstruct TranslateCommand
struct ArcCommand
Packed operands for the Arc canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct ArcCommand
{
public CanvasOp Op;
public Point Center;
public nfloat Radius;
public nfloat StartAngle;
public nfloat EndAngle;
public Winding Winding;
public ArcCommand();
}
ArcCommand.ArcCommand()
public ArcCommand();
Initializes the discriminator and zeroes the operands.
Point ArcCommand.Center
public Point Center;
The Center operand.
NFloat ArcCommand.EndAngle
public nfloat EndAngle;
The EndAngle operand.
CanvasOp ArcCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
NFloat ArcCommand.Radius
public nfloat Radius;
The Radius operand.
NFloat ArcCommand.StartAngle
public nfloat StartAngle;
The StartAngle operand.
Winding ArcCommand.Winding
public Winding Winding;
The Winding operand.
struct ArcToCommand
Packed operands for the ArcTo canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct ArcToCommand
{
public CanvasOp Op;
public Point Control;
public Point End;
public nfloat Radius;
public ArcToCommand();
}
ArcToCommand.ArcToCommand()
public ArcToCommand();
Initializes the discriminator and zeroes the operands.
Point ArcToCommand.Control
public Point Control;
The Control operand.
Point ArcToCommand.End
public Point End;
The End operand.
CanvasOp ArcToCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
NFloat ArcToCommand.Radius
public nfloat Radius;
The Radius operand.
struct BeginPathCommand
Packed operands for the BeginPath canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct BeginPathCommand
{
public CanvasOp Op;
public BeginPathCommand();
}
BeginPathCommand.BeginPathCommand()
public BeginPathCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp BeginPathCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct BrightnessCommand
Packed operands for the Brightness canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct BrightnessCommand
{
public CanvasOp Op;
public nfloat Amount;
public BrightnessCommand();
}
BrightnessCommand.BrightnessCommand()
public BrightnessCommand();
Initializes the discriminator and zeroes the operands.
NFloat BrightnessCommand.Amount
public nfloat Amount;
The Amount operand.
CanvasOp BrightnessCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct ClipCommand
Packed operands for the Clip canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct ClipCommand
{
public CanvasOp Op;
public ClipCommand();
}
ClipCommand.ClipCommand()
public ClipCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp ClipCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct ClosePathCommand
Packed operands for the ClosePath canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct ClosePathCommand
{
public CanvasOp Op;
public ClosePathCommand();
}
ClosePathCommand.ClosePathCommand()
public ClosePathCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp ClosePathCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct Command
The common prefix of every packed canvas command.
Read from a command boundary with MemoryMarshal.Read. Records contain no managed references and use process-local nfloat widths; this is not a portable file format.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct Command
{
public CanvasOp Op;
}
CanvasOp Command.Op
public CanvasOp Op;
Identifies the concrete header; variable-length headers also specify their payload length.
struct CubicCommand
Packed operands for the Cubic canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct CubicCommand
{
public CanvasOp Op;
public Point Control1;
public Point Control2;
public Point End;
public CubicCommand();
}
CubicCommand.CubicCommand()
public CubicCommand();
Initializes the discriminator and zeroes the operands.
Point CubicCommand.Control1
public Point Control1;
The Control1 operand.
Point CubicCommand.Control2
public Point Control2;
The Control2 operand.
Point CubicCommand.End
public Point End;
The End operand.
CanvasOp CubicCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct DashesCommand
Packed operands for the Dashes canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct DashesCommand
{
public CanvasOp Op;
public int Length;
public DashesCommand();
}
DashesCommand.DashesCommand()
public DashesCommand();
Initializes the discriminator and zeroes the operands.
int DashesCommand.Length
public int Length;
Number of nfloat elements stored immediately after this record.
CanvasOp DashesCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct EllipseCommand
Packed operands for the Ellipse canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct EllipseCommand
{
public CanvasOp Op;
public Point Center;
public nfloat RadiusX;
public nfloat RadiusY;
public nfloat Rotation;
public nfloat StartAngle;
public nfloat EndAngle;
public Winding Winding;
public EllipseCommand();
}
EllipseCommand.EllipseCommand()
public EllipseCommand();
Initializes the discriminator and zeroes the operands.
Point EllipseCommand.Center
public Point Center;
The Center operand.
NFloat EllipseCommand.EndAngle
public nfloat EndAngle;
The EndAngle operand.
CanvasOp EllipseCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
NFloat EllipseCommand.RadiusX
public nfloat RadiusX;
The RadiusX operand.
NFloat EllipseCommand.RadiusY
public nfloat RadiusY;
The RadiusY operand.
NFloat EllipseCommand.Rotation
public nfloat Rotation;
The Rotation operand.
NFloat EllipseCommand.StartAngle
public nfloat StartAngle;
The StartAngle operand.
Winding EllipseCommand.Winding
public Winding Winding;
The Winding operand.
struct FillColorCommand
Packed operands for the FillColor canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct FillColorCommand
{
public CanvasOp Op;
public Color Color;
public FillColorCommand();
}
FillColorCommand.FillColorCommand()
public FillColorCommand();
Initializes the discriminator and zeroes the operands.
Color FillColorCommand.Color
public Color Color;
The Color operand.
CanvasOp FillColorCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct FillCommand
Packed operands for the Fill canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct FillCommand
{
public CanvasOp Op;
public FillRule Rule;
public FillCommand();
}
FillCommand.FillCommand()
public FillCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp FillCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
FillRule FillCommand.Rule
public FillRule Rule;
The Rule operand.
struct FillLinearCommand
Packed operands for the FillLinear canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct FillLinearCommand
{
public CanvasOp Op;
public Point StartPoint;
public Point EndPoint;
public int Length;
public FillLinearCommand();
}
FillLinearCommand.FillLinearCommand()
public FillLinearCommand();
Initializes the discriminator and zeroes the operands.
Point FillLinearCommand.EndPoint
public Point EndPoint;
The EndPoint operand.
int FillLinearCommand.Length
public int Length;
Number of GradientStop elements stored immediately after this record.
CanvasOp FillLinearCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
Point FillLinearCommand.StartPoint
public Point StartPoint;
The StartPoint operand.
struct FillPatternCommand
Packed operands for the FillPattern canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct FillPatternCommand
{
public CanvasOp Op;
public ResourceRef Image;
public PatternRepeat Repeat;
public FillPatternCommand();
}
FillPatternCommand.FillPatternCommand()
public FillPatternCommand();
Initializes the discriminator and zeroes the operands.
ResourceRef FillPatternCommand.Image
public ResourceRef Image;
The image object retained in the shared resource list.
CanvasOp FillPatternCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
PatternRepeat FillPatternCommand.Repeat
public PatternRepeat Repeat;
The Repeat operand.
struct FillRadialCommand
Packed operands for the FillRadial canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct FillRadialCommand
{
public CanvasOp Op;
public Point StartCenter;
public nfloat StartRadius;
public Point EndCenter;
public nfloat EndRadius;
public int Length;
public FillRadialCommand();
}
FillRadialCommand.FillRadialCommand()
public FillRadialCommand();
Initializes the discriminator and zeroes the operands.
Point FillRadialCommand.EndCenter
public Point EndCenter;
The EndCenter operand.
NFloat FillRadialCommand.EndRadius
public nfloat EndRadius;
The EndRadius operand.
int FillRadialCommand.Length
public int Length;
Number of GradientStop elements stored immediately after this record.
CanvasOp FillRadialCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
Point FillRadialCommand.StartCenter
public Point StartCenter;
The StartCenter operand.
NFloat FillRadialCommand.StartRadius
public nfloat StartRadius;
The StartRadius operand.
struct FillRectCommand
Packed operands for the FillRect canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct FillRectCommand
{
public CanvasOp Op;
public Rect Bounds;
public FillRectCommand();
}
FillRectCommand.FillRectCommand()
public FillRectCommand();
Initializes the discriminator and zeroes the operands.
Rect FillRectCommand.Bounds
public Rect Bounds;
The Bounds operand.
CanvasOp FillRectCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct FilterNoneCommand
Packed operands for the FilterNone canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct FilterNoneCommand
{
public CanvasOp Op;
public FilterNoneCommand();
}
FilterNoneCommand.FilterNoneCommand()
public FilterNoneCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp FilterNoneCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct FontCommand
Packed operands for the Font canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct FontCommand
{
public CanvasOp Op;
public ResourceRef Family;
public nfloat Size;
public FontWeight Weight;
public FontStyle Style;
public FontStretch Stretch;
public nfloat LineHeight;
public FontCommand();
}
FontCommand.FontCommand()
public FontCommand();
Initializes the discriminator and zeroes the operands.
ResourceRef FontCommand.Family
public ResourceRef Family;
The family-name string retained in the shared resource list.
NFloat FontCommand.LineHeight
public nfloat LineHeight;
The line height.
CanvasOp FontCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
NFloat FontCommand.Size
public nfloat Size;
The font size.
FontStretch FontCommand.Stretch
public FontStretch Stretch;
The font stretch.
FontStyle FontCommand.Style
public FontStyle Style;
The font style, stored inline without boxing.
FontWeight FontCommand.Weight
public FontWeight Weight;
The font weight.
struct GlobalAlphaCommand
Packed operands for the GlobalAlpha canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct GlobalAlphaCommand
{
public CanvasOp Op;
public nfloat Value;
public GlobalAlphaCommand();
}
GlobalAlphaCommand.GlobalAlphaCommand()
public GlobalAlphaCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp GlobalAlphaCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
NFloat GlobalAlphaCommand.Value
public nfloat Value;
The Value operand.
struct ImageCommand
Packed operands for the Image canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct ImageCommand
{
public CanvasOp Op;
public ResourceRef Image;
public Rect Destination;
public nfloat Opacity;
public ImageCommand();
}
ImageCommand.ImageCommand()
public ImageCommand();
Initializes the discriminator and zeroes the operands.
Rect ImageCommand.Destination
public Rect Destination;
The Destination operand.
ResourceRef ImageCommand.Image
public ResourceRef Image;
The image object retained in the shared resource list.
CanvasOp ImageCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
NFloat ImageCommand.Opacity
public nfloat Opacity;
The Opacity operand.
struct ImageCropCommand
Packed operands for the ImageCrop canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct ImageCropCommand
{
public CanvasOp Op;
public ResourceRef Image;
public Rect Source;
public Rect Destination;
public nfloat Opacity;
public ImageCropCommand();
}
ImageCropCommand.ImageCropCommand()
public ImageCropCommand();
Initializes the discriminator and zeroes the operands.
Rect ImageCropCommand.Destination
public Rect Destination;
The Destination operand.
ResourceRef ImageCropCommand.Image
public ResourceRef Image;
The image object retained in the shared resource list.
CanvasOp ImageCropCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
NFloat ImageCropCommand.Opacity
public nfloat Opacity;
The Opacity operand.
Rect ImageCropCommand.Source
public Rect Source;
The Source operand.
struct LineCapCommand
Packed operands for the LineCap canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct LineCapCommand
{
public CanvasOp Op;
public LineCap Value;
public LineCapCommand();
}
LineCapCommand.LineCapCommand()
public LineCapCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp LineCapCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
LineCap LineCapCommand.Value
public LineCap Value;
The Value operand.
struct LineDashOffsetCommand
Packed operands for the LineDashOffset canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct LineDashOffsetCommand
{
public CanvasOp Op;
public nfloat Value;
public LineDashOffsetCommand();
}
LineDashOffsetCommand.LineDashOffsetCommand()
public LineDashOffsetCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp LineDashOffsetCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
NFloat LineDashOffsetCommand.Value
public nfloat Value;
The Value operand.
struct LineJoinCommand
Packed operands for the LineJoin canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct LineJoinCommand
{
public CanvasOp Op;
public LineJoin Value;
public LineJoinCommand();
}
LineJoinCommand.LineJoinCommand()
public LineJoinCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp LineJoinCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
LineJoin LineJoinCommand.Value
public LineJoin Value;
The Value operand.
struct LineToCommand
Packed operands for the LineTo canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct LineToCommand
{
public CanvasOp Op;
public Point Position;
public LineToCommand();
}
LineToCommand.LineToCommand()
public LineToCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp LineToCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
Point LineToCommand.Position
public Point Position;
The Position operand.
struct LineWidthCommand
Packed operands for the LineWidth canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct LineWidthCommand
{
public CanvasOp Op;
public nfloat Value;
public LineWidthCommand();
}
LineWidthCommand.LineWidthCommand()
public LineWidthCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp LineWidthCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
NFloat LineWidthCommand.Value
public nfloat Value;
The Value operand.
struct MiterLimitCommand
Packed operands for the MiterLimit canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct MiterLimitCommand
{
public CanvasOp Op;
public nfloat Value;
public MiterLimitCommand();
}
MiterLimitCommand.MiterLimitCommand()
public MiterLimitCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp MiterLimitCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
NFloat MiterLimitCommand.Value
public nfloat Value;
The Value operand.
struct MoveToCommand
Packed operands for the MoveTo canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct MoveToCommand
{
public CanvasOp Op;
public Point Position;
public MoveToCommand();
}
MoveToCommand.MoveToCommand()
public MoveToCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp MoveToCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
Point MoveToCommand.Position
public Point Position;
The Position operand.
struct QuadraticCommand
Packed operands for the Quadratic canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct QuadraticCommand
{
public CanvasOp Op;
public Point Control;
public Point End;
public QuadraticCommand();
}
QuadraticCommand.QuadraticCommand()
public QuadraticCommand();
Initializes the discriminator and zeroes the operands.
Point QuadraticCommand.Control
public Point Control;
The Control operand.
Point QuadraticCommand.End
public Point End;
The End operand.
CanvasOp QuadraticCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct RectCommand
Packed operands for the Rect canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct RectCommand
{
public CanvasOp Op;
public Rect Bounds;
public RectCommand();
}
RectCommand.RectCommand()
public RectCommand();
Initializes the discriminator and zeroes the operands.
Rect RectCommand.Bounds
public Rect Bounds;
The Bounds operand.
CanvasOp RectCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct RestoreCommand
Packed operands for the Restore canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct RestoreCommand
{
public CanvasOp Op;
public RestoreCommand();
}
RestoreCommand.RestoreCommand()
public RestoreCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp RestoreCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct RotateCommand
Packed operands for the Rotate canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct RotateCommand
{
public CanvasOp Op;
public nfloat Angle;
public RotateCommand();
}
RotateCommand.RotateCommand()
public RotateCommand();
Initializes the discriminator and zeroes the operands.
NFloat RotateCommand.Angle
public nfloat Angle;
The Angle operand.
CanvasOp RotateCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct RoundRectCommand
Packed operands for the RoundRect canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct RoundRectCommand
{
public CanvasOp Op;
public Rect Bounds;
public CornerRadius Corners;
public RoundRectCommand();
}
RoundRectCommand.RoundRectCommand()
public RoundRectCommand();
Initializes the discriminator and zeroes the operands.
Rect RoundRectCommand.Bounds
public Rect Bounds;
The Bounds operand.
CornerRadius RoundRectCommand.Corners
public CornerRadius Corners;
The Corners operand.
CanvasOp RoundRectCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct SaveCommand
Packed operands for the Save canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct SaveCommand
{
public CanvasOp Op;
public SaveCommand();
}
SaveCommand.SaveCommand()
public SaveCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp SaveCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct ScaleCommand
Packed operands for the Scale canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct ScaleCommand
{
public CanvasOp Op;
public Vector Value;
public ScaleCommand();
}
ScaleCommand.ScaleCommand()
public ScaleCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp ScaleCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
Vector ScaleCommand.Value
public Vector Value;
The Value operand.
struct SetTransformCommand
Packed operands for the SetTransform canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct SetTransformCommand
{
public CanvasOp Op;
public AffineTransform Value;
public SetTransformCommand();
}
SetTransformCommand.SetTransformCommand()
public SetTransformCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp SetTransformCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
AffineTransform SetTransformCommand.Value
public AffineTransform Value;
The Value operand.
struct StrokeColorCommand
Packed operands for the StrokeColor canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct StrokeColorCommand
{
public CanvasOp Op;
public Color Color;
public StrokeColorCommand();
}
StrokeColorCommand.StrokeColorCommand()
public StrokeColorCommand();
Initializes the discriminator and zeroes the operands.
Color StrokeColorCommand.Color
public Color Color;
The Color operand.
CanvasOp StrokeColorCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct StrokeCommand
Packed operands for the Stroke canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct StrokeCommand
{
public CanvasOp Op;
public StrokeCommand();
}
StrokeCommand.StrokeCommand()
public StrokeCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp StrokeCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct StrokeLinearCommand
Packed operands for the StrokeLinear canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct StrokeLinearCommand
{
public CanvasOp Op;
public Point StartPoint;
public Point EndPoint;
public int Length;
public StrokeLinearCommand();
}
StrokeLinearCommand.StrokeLinearCommand()
public StrokeLinearCommand();
Initializes the discriminator and zeroes the operands.
Point StrokeLinearCommand.EndPoint
public Point EndPoint;
The EndPoint operand.
int StrokeLinearCommand.Length
public int Length;
Number of GradientStop elements stored immediately after this record.
CanvasOp StrokeLinearCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
Point StrokeLinearCommand.StartPoint
public Point StartPoint;
The StartPoint operand.
struct StrokePatternCommand
Packed operands for the StrokePattern canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct StrokePatternCommand
{
public CanvasOp Op;
public ResourceRef Image;
public PatternRepeat Repeat;
public StrokePatternCommand();
}
StrokePatternCommand.StrokePatternCommand()
public StrokePatternCommand();
Initializes the discriminator and zeroes the operands.
ResourceRef StrokePatternCommand.Image
public ResourceRef Image;
The image object retained in the shared resource list.
CanvasOp StrokePatternCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
PatternRepeat StrokePatternCommand.Repeat
public PatternRepeat Repeat;
The Repeat operand.
struct StrokeRadialCommand
Packed operands for the StrokeRadial canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct StrokeRadialCommand
{
public CanvasOp Op;
public Point StartCenter;
public nfloat StartRadius;
public Point EndCenter;
public nfloat EndRadius;
public int Length;
public StrokeRadialCommand();
}
StrokeRadialCommand.StrokeRadialCommand()
public StrokeRadialCommand();
Initializes the discriminator and zeroes the operands.
Point StrokeRadialCommand.EndCenter
public Point EndCenter;
The EndCenter operand.
NFloat StrokeRadialCommand.EndRadius
public nfloat EndRadius;
The EndRadius operand.
int StrokeRadialCommand.Length
public int Length;
Number of GradientStop elements stored immediately after this record.
CanvasOp StrokeRadialCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
Point StrokeRadialCommand.StartCenter
public Point StartCenter;
The StartCenter operand.
NFloat StrokeRadialCommand.StartRadius
public nfloat StartRadius;
The StartRadius operand.
struct StrokeRectCommand
Packed operands for the StrokeRect canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct StrokeRectCommand
{
public CanvasOp Op;
public Rect Bounds;
public StrokeRectCommand();
}
StrokeRectCommand.StrokeRectCommand()
public StrokeRectCommand();
Initializes the discriminator and zeroes the operands.
Rect StrokeRectCommand.Bounds
public Rect Bounds;
The Bounds operand.
CanvasOp StrokeRectCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
struct SymbolCommand
A retained reference to an immutable symbol definition.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct SymbolCommand
{
public CanvasOp Op;
public ResourceRef Content;
public SymbolCommand();
}
SymbolCommand.SymbolCommand()
public SymbolCommand();
Initializes the operation.
ResourceRef SymbolCommand.Content
public ResourceRef Content;
SymbolContent in the buffer's resource table.
CanvasOp SymbolCommand.Op
public CanvasOp Op;
Operation discriminator.
struct TextAlignCommand
Packed operands for the TextAlign canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct TextAlignCommand
{
public CanvasOp Op;
public TextAlign Value;
public TextAlignCommand();
}
TextAlignCommand.TextAlignCommand()
public TextAlignCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp TextAlignCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
TextAlign TextAlignCommand.Value
public TextAlign Value;
The Value operand.
struct TextBaselineCommand
Packed operands for the TextBaseline canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct TextBaselineCommand
{
public CanvasOp Op;
public TextBaseline Value;
public TextBaselineCommand();
}
TextBaselineCommand.TextBaselineCommand()
public TextBaselineCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp TextBaselineCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
TextBaseline TextBaselineCommand.Value
public TextBaseline Value;
The Value operand.
struct TextCommand
Draws text copied from a span into the binary stream immediately after this record.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct TextCommand
{
public CanvasOp Op;
public Point Position;
public int Length;
public TextCommand();
}
TextCommand.TextCommand()
public TextCommand();
Initializes the discriminator and zeroes the operands.
int TextCommand.Length
public int Length;
Number of char elements stored immediately after this record.
CanvasOp TextCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
Point TextCommand.Position
public Point Position;
The Position operand.
struct TextResourceCommand
Draws a string retained by reference in the shared resource list.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct TextResourceCommand
{
public CanvasOp Op;
public Point Position;
public ResourceRef Text;
public TextResourceCommand();
}
TextResourceCommand.TextResourceCommand()
public TextResourceCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp TextResourceCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
Point TextResourceCommand.Position
public Point Position;
The text drawing position.
ResourceRef TextResourceCommand.Text
public ResourceRef Text;
The retained string. Span-based text uses TextCommand instead.
struct TransformCommand
Packed operands for the Transform canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct TransformCommand
{
public CanvasOp Op;
public AffineTransform Value;
public TransformCommand();
}
TransformCommand.TransformCommand()
public TransformCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp TransformCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
AffineTransform TransformCommand.Value
public AffineTransform Value;
The Value operand.
struct TranslateCommand
Packed operands for the Translate canvas operation.
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct TranslateCommand
{
public CanvasOp Op;
public Vector Value;
public TranslateCommand();
}
TranslateCommand.TranslateCommand()
public TranslateCommand();
Initializes the discriminator and zeroes the operands.
CanvasOp TranslateCommand.Op
public CanvasOp Op;
The command discriminator, at byte offset zero.
Vector TranslateCommand.Value
public Vector Value;
The Value operand.