Enum svgtypes::AttributeId
[−]
[src]
pub enum AttributeId {
AccentHeight,
Accumulate,
Actuate,
Additive,
AlignmentBaseline,
Alphabetic,
Amplitude,
ArabicForm,
Arcrole,
Ascent,
AttributeName,
AttributeType,
Azimuth,
Base,
BaseFrequency,
BaselineShift,
BaseProfile,
Bbox,
Begin,
Bias,
By,
CalcMode,
CapHeight,
Class,
Clip,
ClipPath,
ClipRule,
ClipPathUnits,
Color,
ColorInterpolation,
ColorInterpolationFilters,
ColorProfile,
ColorRendering,
ContentScriptType,
ContentStyleType,
Cursor,
Cx,
Cy,
D,
Descent,
DiffuseConstant,
Direction,
Display,
Divisor,
DominantBaseline,
Dur,
Dx,
Dy,
EdgeMode,
Elevation,
EnableBackground,
Encoding,
End,
Exponent,
ExternalResourcesRequired,
Fill,
FillOpacity,
FillRule,
Filter,
FilterRes,
FilterUnits,
FloodColor,
FloodOpacity,
Font,
FontFamily,
FontSize,
FontSizeAdjust,
FontStretch,
FontStyle,
FontVariant,
FontWeight,
Format,
From,
Fx,
Fy,
G1,
G2,
GlyphName,
GlyphOrientationHorizontal,
GlyphOrientationVertical,
GlyphRef,
GradientTransform,
GradientUnits,
Hanging,
Height,
HorizAdvX,
HorizOriginX,
HorizOriginY,
Href,
Id,
Ideographic,
ImageRendering,
In,
In2,
Intercept,
K,
K1,
K2,
K3,
K4,
KernelMatrix,
KernelUnitLength,
Kerning,
KeyPoints,
KeySplines,
KeyTimes,
Lang,
LengthAdjust,
LetterSpacing,
LightingColor,
LimitingConeAngle,
LineHeight,
Local,
Marker,
MarkerEnd,
MarkerMid,
MarkerStart,
MarkerHeight,
MarkerUnits,
MarkerWidth,
Mask,
MaskContentUnits,
MaskUnits,
Mathematical,
Max,
Media,
Method,
Min,
Mode,
Name,
NumOctaves,
Offset,
Onabort,
Onactivate,
Onbegin,
Onclick,
Onend,
Onerror,
Onfocusin,
Onfocusout,
Onload,
Onmousedown,
Onmousemove,
Onmouseout,
Onmouseover,
Onmouseup,
Onrepeat,
Onresize,
Onscroll,
Onunload,
Onzoom,
Opacity,
Operator,
Order,
Orient,
Orientation,
Origin,
Overflow,
OverlinePosition,
OverlineThickness,
Panose1,
Path,
PathLength,
PatternContentUnits,
PatternTransform,
PatternUnits,
PointerEvents,
Points,
PointsAtX,
PointsAtY,
PointsAtZ,
PreserveAlpha,
PreserveAspectRatio,
PrimitiveUnits,
R,
Radius,
RefX,
RefY,
RenderingIntent,
RepeatCount,
RepeatDur,
RequiredExtensions,
RequiredFeatures,
Restart,
Result,
Role,
Rotate,
Rx,
Ry,
Scale,
Seed,
ShapeRendering,
Show,
Slope,
Space,
Spacing,
SpecularConstant,
SpecularExponent,
SpreadMethod,
Standalone,
StartOffset,
StdDeviation,
Stemh,
Stemv,
StitchTiles,
StopColor,
StopOpacity,
StrikethroughPosition,
StrikethroughThickness,
String,
Stroke,
StrokeDasharray,
StrokeDashoffset,
StrokeLinecap,
StrokeLinejoin,
StrokeMiterlimit,
StrokeOpacity,
StrokeWidth,
Style,
SurfaceScale,
SystemLanguage,
TableValues,
Target,
TargetX,
TargetY,
TextAnchor,
TextDecoration,
TextRendering,
TextLength,
Title,
To,
Transform,
Type,
U1,
U2,
UnderlinePosition,
UnderlineThickness,
Unicode,
UnicodeBidi,
UnicodeRange,
UnitsPerEm,
VAlphabetic,
VHanging,
VIdeographic,
VMathematical,
Values,
Version,
VertAdvY,
VertOriginX,
VertOriginY,
ViewBox,
ViewTarget,
Visibility,
Width,
Widths,
WordSpacing,
WritingMode,
X,
XHeight,
X1,
X2,
XChannelSelector,
Xlink,
Xmlns,
Y,
Y1,
Y2,
YChannelSelector,
Z,
ZoomAndPan,
}List of all SVG attributes.
Variants
AccentHeightAccumulateActuateAdditiveAlignmentBaselineAlphabeticAmplitudeArabicFormArcroleAscentAttributeNameAttributeTypeAzimuthBaseBaseFrequencyBaselineShiftBaseProfileBboxBeginBiasByCalcModeCapHeightClassClipClipPathClipRuleClipPathUnitsColorColorInterpolationColorInterpolationFiltersColorProfileColorRenderingContentScriptTypeContentStyleTypeCursorCxCyDDescentDiffuseConstantDirectionDisplayDivisorDominantBaselineDurDxDyEdgeModeElevationEnableBackgroundEncodingEndExponentExternalResourcesRequiredFillFillOpacityFillRuleFilterFilterResFilterUnitsFloodColorFloodOpacityFontFontFamilyFontSizeFontSizeAdjustFontStretchFontStyleFontVariantFontWeightFormatFromFxFyG1G2GlyphNameGlyphOrientationHorizontalGlyphOrientationVerticalGlyphRefGradientTransformGradientUnitsHangingHeightHorizAdvXHorizOriginXHorizOriginYHrefIdIdeographicImageRenderingInIn2InterceptKK1K2K3K4KernelMatrixKernelUnitLengthKerningKeyPointsKeySplinesKeyTimesLangLengthAdjustLetterSpacingLightingColorLimitingConeAngleLineHeightLocalMarkerMarkerEndMarkerMidMarkerStartMarkerHeightMarkerUnitsMarkerWidthMaskMaskContentUnitsMaskUnitsMathematicalMaxMediaMethodMinModeNameNumOctavesOffsetOnabortOnactivateOnbeginOnclickOnendOnerrorOnfocusinOnfocusoutOnloadOnmousedownOnmousemoveOnmouseoutOnmouseoverOnmouseupOnrepeatOnresizeOnscrollOnunloadOnzoomOpacityOperatorOrderOrientOrientationOriginOverflowOverlinePositionOverlineThicknessPanose1PathPathLengthPatternContentUnitsPatternTransformPatternUnitsPointerEventsPointsPointsAtXPointsAtYPointsAtZPreserveAlphaPreserveAspectRatioPrimitiveUnitsRRadiusRefXRefYRenderingIntentRepeatCountRepeatDurRequiredExtensionsRequiredFeaturesRestartResultRoleRotateRxRyScaleSeedShapeRenderingShowSlopeSpaceSpacingSpecularConstantSpecularExponentSpreadMethodStandaloneStartOffsetStdDeviationStemhStemvStitchTilesStopColorStopOpacityStrikethroughPositionStrikethroughThicknessStringStrokeStrokeDasharrayStrokeDashoffsetStrokeLinecapStrokeLinejoinStrokeMiterlimitStrokeOpacityStrokeWidthStyleSurfaceScaleSystemLanguageTableValuesTargetTargetXTargetYTextAnchorTextDecorationTextRenderingTextLengthTitleToTransformTypeU1U2UnderlinePositionUnderlineThicknessUnicodeUnicodeBidiUnicodeRangeUnitsPerEmVAlphabeticVHangingVIdeographicVMathematicalValuesVersionVertAdvYVertOriginXVertOriginYViewBoxViewTargetVisibilityWidthWidthsWordSpacingWritingModeXXHeightX1X2XChannelSelectorXlinkXmlnsYY1Y2YChannelSelectorZZoomAndPan
Methods
impl AttributeId[src]
pub fn from_str(text: &str) -> Option<AttributeId>[src]
Converts name into id.
pub fn as_str(&self) -> &str[src]
Converts id into name.
Trait Implementations
impl Copy for AttributeId[src]
impl Clone for AttributeId[src]
fn clone(&self) -> AttributeId[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Eq for AttributeId[src]
impl PartialEq for AttributeId[src]
fn eq(&self, __arg_0: &AttributeId) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Ord for AttributeId[src]
fn cmp(&self, __arg_0: &AttributeId) -> Ordering[src]
This method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
Compares and returns the minimum of two values. Read more
impl PartialOrd for AttributeId[src]
fn partial_cmp(&self, __arg_0: &AttributeId) -> Option<Ordering>[src]
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Hash for AttributeId[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for AttributeId[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more