package svg
import "github.com/tdewolff/parse/svg"
Index ¶
Types ¶
type Hash ¶
type Hash uint32
uses github.com/tdewolff/hasher
const ( A Hash = 0x1d01 Alignment_Baseline Hash = 0x2912 Baseline_Shift Hash = 0x330e Buffered_Rendering Hash = 0x12 Clip Hash = 0x4d04 Clip_Path Hash = 0x4d09 Clip_Rule Hash = 0x6909 Color Hash = 0xbc05 Color_Interpolation Hash = 0xbc13 Color_Interpolation_Filters Hash = 0xbc1b Color_Profile Hash = 0x1cc0d Color_Rendering Hash = 0x2050f ContentStyleType Hash = 0x7e10 Cursor Hash = 0xa506 D Hash = 0x701 Defs Hash = 0x31b04 Direction Hash = 0x2c109 Display Hash = 0x9d07 Dominant_Baseline Hash = 0x16711 Enable_Background Hash = 0x8d11 Fill Hash = 0xad04 Fill_Opacity Hash = 0x2ef0c Fill_Rule Hash = 0xad09 Filter Hash = 0xd006 Flood_Color Hash = 0xb60b Flood_Opacity Hash = 0xe50d Font Hash = 0xf204 Font_Family Hash = 0xf20b Font_Size Hash = 0xfd09 Font_Size_Adjust Hash = 0xfd10 Font_Stretch Hash = 0x1150c Font_Style Hash = 0x1210a Font_Variant Hash = 0x12b0c Font_Weight Hash = 0x1440b G Hash = 0x1101 Glyph_Orientation_Horizontal Hash = 0x1a81c Glyph_Orientation_Vertical Hash = 0x111a Height Hash = 0x5506 Image_Rendering Hash = 0x14f0f Kerning Hash = 0x19107 Letter_Spacing Hash = 0x700e Lighting_Color Hash = 0x1c30e Line Hash = 0x3704 Marker Hash = 0x15e06 Marker_End Hash = 0x15e0a Marker_Mid Hash = 0x1780a Marker_Start Hash = 0x1820c Mask Hash = 0x18e04 Metadata Hash = 0x19808 Missing_Glyph Hash = 0x1a00d Opacity Hash = 0xeb07 Overflow Hash = 0x1d908 Paint_Order Hash = 0x2630b Path Hash = 0x5204 Pattern Hash = 0x1eb07 Pointer_Events Hash = 0x1f20e Points Hash = 0x21406 Polygon Hash = 0x22607 Polyline Hash = 0x22d08 Rect Hash = 0x2c304 Rx Hash = 0x4a02 Ry Hash = 0xaa02 Shape_Rendering Hash = 0xd60f Solid_Color Hash = 0x1ff0b Solid_Opacity Hash = 0x2190d Stop_Color Hash = 0x10b0a Stop_Opacity Hash = 0x31e0c Stroke Hash = 0x23506 Stroke_Dasharray Hash = 0x23510 Stroke_Dashoffset Hash = 0x24511 Stroke_Linecap Hash = 0x2560e Stroke_Linejoin Hash = 0x26e0f Stroke_Miterlimit Hash = 0x27d11 Stroke_Opacity Hash = 0x28e0e Stroke_Width Hash = 0x29c0c Style Hash = 0x12605 Svg Hash = 0x2a803 Switch Hash = 0x2ab06 Symbol Hash = 0x2b106 Text_Anchor Hash = 0x400b Text_Decoration Hash = 0x5a0f Text_Rendering Hash = 0x1360e Unicode_Bidi Hash = 0x2b70c Vector_Effect Hash = 0x2ca0d Version Hash = 0x2d707 ViewBox Hash = 0x2de07 Viewport_Fill Hash = 0x2e60d Viewport_Fill_Opacity Hash = 0x2e615 Visibility Hash = 0x2fb0a White_Space Hash = 0x1e00b Width Hash = 0x2a305 Word_Spacing Hash = 0x3050c Writing_Mode Hash = 0x3110c X Hash = 0x4201 X1 Hash = 0x4b02 X2 Hash = 0x2e402 Y Hash = 0x1301 Y1 Hash = 0xa302 Y2 Hash = 0xab02 )
func ToHash ¶
ToHash returns the hash whose name is s. It returns zero if there is no such hash. It is case sensitive.
func (Hash) String ¶
String returns the hash' name.
Source Files ¶
- Version
- v1.1.0 (latest)
- Published
- Nov 2, 2015
- Platform
- linux/amd64
- Last checked
- 3 weeks ago –
Tools for package owners.