Skip to content

Commit

Permalink
Merge pull request #52 from tscircuit/seveibar-patch-1
Browse files Browse the repository at this point in the history
add `is_mirrored` to silkscreentext
  • Loading branch information
seveibar authored Sep 22, 2024
2 parents ba5adf1 + 5fc8f3f commit 8a51fbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pcb/pcb_silkscreen_text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const pcb_silkscreen_text = z
pcb_component_id: z.string(),
text: z.string(),
layer: layer_ref,
is_mirrored: z.boolean().default(false).optional(),
anchor_position: point.default({ x: 0, y: 0 }),
anchor_alignment: z
.enum(["center", "top_left", "top_right", "bottom_left", "bottom_right"])
Expand All @@ -34,6 +35,7 @@ export interface PcbSilkscreenText {
pcb_component_id: string
text: string
layer: LayerRef
is_mirrored?: boolean
anchor_position: Point
anchor_alignment:
| "center"
Expand Down

0 comments on commit 8a51fbe

Please sign in to comment.