• Products
  • Pricing
  • Documentation
  • Support
Login
Your cart is empty. See pricing.
My order
Total:
Order
  • Home
  • Products
  • Pricing
  • Documentation
  • Support
Login
LinkedIn
Twitter
  • Guide
  • API reference
  • Code samples
  • Changelog
  • TallComponents
  • TallComponents.Licensing
  • TallComponents.PDF.Layout
  • TallComponents.PDF.Layout.Actions
  • TallComponents.PDF.Layout.Brushes
  • TallComponents.PDF.Layout.Colors
  • TallComponents.PDF.Layout.Css
  • TallComponents.PDF.Layout.Fonts
  • TallComponents.PDF.Layout.JavaScript
  • TallComponents.PDF.Layout.Metadata
  • TallComponents.PDF.Layout.Navigation
  • TallComponents.PDF.Layout.Paragraphs
  • TallComponents.PDF.Layout.Pens
  • TallComponents.PDF.Layout.ResourceLoader
  • TallComponents.PDF.Layout.Security
  • TallComponents.PDF.Layout.Shapes
  • TallComponents.PDF.Layout.Shapes.Annotations
  • TallComponents.PDF.Layout.Shapes.Barcodes
  • TallComponents.PDF.Layout.Shapes.Fields
  • TallComponents.PDF.Layout.Xml

Namespace TallComponents.PDF.Layout.Pens

Class DashPattern

A pattern for a pen (e.g. solid, dotted, dashed, etc.).

A DashPattern is an array of numbers that specify alternating lengths of ink followed by no-ink. The array is applied repeatedly to draw the full length of the path to which the pattern is applied.

Syntax

public class DashPattern : Object

Constructors

DashPattern(Int32,Double[])
Create a custom pattern with given phase and pattern.

Properties

Double[] Dashes
The pattern of dashes.
Int32 Phase
The phase of the pattern.
DashPattern Solid
A solid pattern.

Methods

DashPattern Clone()
Clones a DashPattern.
Boolean Equals(Object)
Compare two DashPatterns.
Int32 GetHashCode()
Returns base.GetHashCode().
DashPattern Parse(String)
Create a new DashPattern from a string description of alternating ink lengths.
Void Read(XmlReader)
Reads a dash pattern from XML.
Our products
PDFKit.NET 5.0
Create and manipulate PDF documents
TallPDF.NET 5.0
Generate PDF on the fly
PDFRasterizer.NET 4.0
Render PDF pages cross-platform
Support resources
  • Code samples
  • Submit issue
  • Contact
  • Licensing Model
Legal
  • EULA
  • Privacy
LinkedIn
Twitter
© 2001-2025 TallComponents BV. All rights reserved.