Table of Contents

Struct SvgPreserveAspectRatio

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Represents all SVG preserveAspectRatio settings.
D2D1_SVG_PRESERVE_ASPECT_RATIO

public struct SvgPreserveAspectRatio : IEquatable<SvgPreserveAspectRatio>
Implements
Inherited Members

Constructors

SvgPreserveAspectRatio(bool, SvgAspectAlign, SvgAspectScaling)

Properties

Align

Gets or sets the align portion of the preserveAspectRatio settings.

Defer

Gets or sets the 'defer' portion of the preserveAspectRatio settings. This field only has an effect on an 'image' element that references another SVG document. As this is not currently supported, the field has no impact on rendering.

MeetOrSlice

Gets or sets the meetOrSlice portion of the preserveAspectRatio settings.

Methods

Equals(SvgPreserveAspectRatio)
Equals(in SvgPreserveAspectRatio)
Equals(object?)
GetHashCode()

Operators

operator ==(in SvgPreserveAspectRatio, in SvgPreserveAspectRatio)
operator !=(in SvgPreserveAspectRatio, in SvgPreserveAspectRatio)