@cloudflare/workers-types 4.20260529.1 → 4.20260530.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12271,6 +12271,21 @@ interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
12271
12271
  * (form a line).
12272
12272
  */
12273
12273
  repeat?: true | "x" | "y";
12274
+ /**
12275
+ * How to combine the foreground and backdrop pixels to create the result
12276
+ */
12277
+ composite?: /** Foreground drawn on top of backdrop (default) */
12278
+ | "over"
12279
+ /** Foreground shown only where backdrop is opaque */
12280
+ | "in"
12281
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12282
+ | "atop"
12283
+ /** Foreground shown only where backdrop is transparent */
12284
+ | "out"
12285
+ /** Foreground and backdrop visible only where the other is not */
12286
+ | "xor"
12287
+ /** Foreground and backdrop channels added (brightening) */
12288
+ | "lighter";
12274
12289
  /**
12275
12290
  * Position of the overlay image relative to a given edge. Each property is
12276
12291
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13614,11 +13629,25 @@ type ImageTransform = {
13614
13629
  type ImageDrawOptions = {
13615
13630
  opacity?: number;
13616
13631
  repeat?: boolean | string;
13632
+ composite?: ImageCompositeMode;
13617
13633
  top?: number;
13618
13634
  left?: number;
13619
13635
  bottom?: number;
13620
13636
  right?: number;
13621
13637
  };
13638
+ type ImageCompositeMode =
13639
+ /** Foreground drawn on top of backdrop (default) */
13640
+ | "over"
13641
+ /** Foreground shown only where backdrop is opaque */
13642
+ | "in"
13643
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13644
+ | "atop"
13645
+ /** Foreground shown only where backdrop is transparent */
13646
+ | "out"
13647
+ /** Foreground and backdrop visible only where the other is not */
13648
+ | "xor"
13649
+ /** Foreground and backdrop channels added (brightening) */
13650
+ | "lighter";
13622
13651
  type ImageInputOptions = {
13623
13652
  encoding?: "base64";
13624
13653
  };
@@ -12283,6 +12283,21 @@ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformati
12283
12283
  * (form a line).
12284
12284
  */
12285
12285
  repeat?: true | "x" | "y";
12286
+ /**
12287
+ * How to combine the foreground and backdrop pixels to create the result
12288
+ */
12289
+ composite?: /** Foreground drawn on top of backdrop (default) */
12290
+ | "over"
12291
+ /** Foreground shown only where backdrop is opaque */
12292
+ | "in"
12293
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12294
+ | "atop"
12295
+ /** Foreground shown only where backdrop is transparent */
12296
+ | "out"
12297
+ /** Foreground and backdrop visible only where the other is not */
12298
+ | "xor"
12299
+ /** Foreground and backdrop channels added (brightening) */
12300
+ | "lighter";
12286
12301
  /**
12287
12302
  * Position of the overlay image relative to a given edge. Each property is
12288
12303
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13634,11 +13649,25 @@ export type ImageTransform = {
13634
13649
  export type ImageDrawOptions = {
13635
13650
  opacity?: number;
13636
13651
  repeat?: boolean | string;
13652
+ composite?: ImageCompositeMode;
13637
13653
  top?: number;
13638
13654
  left?: number;
13639
13655
  bottom?: number;
13640
13656
  right?: number;
13641
13657
  };
13658
+ export type ImageCompositeMode =
13659
+ /** Foreground drawn on top of backdrop (default) */
13660
+ | "over"
13661
+ /** Foreground shown only where backdrop is opaque */
13662
+ | "in"
13663
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13664
+ | "atop"
13665
+ /** Foreground shown only where backdrop is transparent */
13666
+ | "out"
13667
+ /** Foreground and backdrop visible only where the other is not */
13668
+ | "xor"
13669
+ /** Foreground and backdrop channels added (brightening) */
13670
+ | "lighter";
13642
13671
  export type ImageInputOptions = {
13643
13672
  encoding?: "base64";
13644
13673
  };
@@ -12338,6 +12338,21 @@ interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
12338
12338
  * (form a line).
12339
12339
  */
12340
12340
  repeat?: true | "x" | "y";
12341
+ /**
12342
+ * How to combine the foreground and backdrop pixels to create the result
12343
+ */
12344
+ composite?: /** Foreground drawn on top of backdrop (default) */
12345
+ | "over"
12346
+ /** Foreground shown only where backdrop is opaque */
12347
+ | "in"
12348
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12349
+ | "atop"
12350
+ /** Foreground shown only where backdrop is transparent */
12351
+ | "out"
12352
+ /** Foreground and backdrop visible only where the other is not */
12353
+ | "xor"
12354
+ /** Foreground and backdrop channels added (brightening) */
12355
+ | "lighter";
12341
12356
  /**
12342
12357
  * Position of the overlay image relative to a given edge. Each property is
12343
12358
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13681,11 +13696,25 @@ type ImageTransform = {
13681
13696
  type ImageDrawOptions = {
13682
13697
  opacity?: number;
13683
13698
  repeat?: boolean | string;
13699
+ composite?: ImageCompositeMode;
13684
13700
  top?: number;
13685
13701
  left?: number;
13686
13702
  bottom?: number;
13687
13703
  right?: number;
13688
13704
  };
13705
+ type ImageCompositeMode =
13706
+ /** Foreground drawn on top of backdrop (default) */
13707
+ | "over"
13708
+ /** Foreground shown only where backdrop is opaque */
13709
+ | "in"
13710
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13711
+ | "atop"
13712
+ /** Foreground shown only where backdrop is transparent */
13713
+ | "out"
13714
+ /** Foreground and backdrop visible only where the other is not */
13715
+ | "xor"
13716
+ /** Foreground and backdrop channels added (brightening) */
13717
+ | "lighter";
13689
13718
  type ImageInputOptions = {
13690
13719
  encoding?: "base64";
13691
13720
  };
@@ -12350,6 +12350,21 @@ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformati
12350
12350
  * (form a line).
12351
12351
  */
12352
12352
  repeat?: true | "x" | "y";
12353
+ /**
12354
+ * How to combine the foreground and backdrop pixels to create the result
12355
+ */
12356
+ composite?: /** Foreground drawn on top of backdrop (default) */
12357
+ | "over"
12358
+ /** Foreground shown only where backdrop is opaque */
12359
+ | "in"
12360
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12361
+ | "atop"
12362
+ /** Foreground shown only where backdrop is transparent */
12363
+ | "out"
12364
+ /** Foreground and backdrop visible only where the other is not */
12365
+ | "xor"
12366
+ /** Foreground and backdrop channels added (brightening) */
12367
+ | "lighter";
12353
12368
  /**
12354
12369
  * Position of the overlay image relative to a given edge. Each property is
12355
12370
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13701,11 +13716,25 @@ export type ImageTransform = {
13701
13716
  export type ImageDrawOptions = {
13702
13717
  opacity?: number;
13703
13718
  repeat?: boolean | string;
13719
+ composite?: ImageCompositeMode;
13704
13720
  top?: number;
13705
13721
  left?: number;
13706
13722
  bottom?: number;
13707
13723
  right?: number;
13708
13724
  };
13725
+ export type ImageCompositeMode =
13726
+ /** Foreground drawn on top of backdrop (default) */
13727
+ | "over"
13728
+ /** Foreground shown only where backdrop is opaque */
13729
+ | "in"
13730
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13731
+ | "atop"
13732
+ /** Foreground shown only where backdrop is transparent */
13733
+ | "out"
13734
+ /** Foreground and backdrop visible only where the other is not */
13735
+ | "xor"
13736
+ /** Foreground and backdrop channels added (brightening) */
13737
+ | "lighter";
13709
13738
  export type ImageInputOptions = {
13710
13739
  encoding?: "base64";
13711
13740
  };
@@ -12347,6 +12347,21 @@ interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
12347
12347
  * (form a line).
12348
12348
  */
12349
12349
  repeat?: true | "x" | "y";
12350
+ /**
12351
+ * How to combine the foreground and backdrop pixels to create the result
12352
+ */
12353
+ composite?: /** Foreground drawn on top of backdrop (default) */
12354
+ | "over"
12355
+ /** Foreground shown only where backdrop is opaque */
12356
+ | "in"
12357
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12358
+ | "atop"
12359
+ /** Foreground shown only where backdrop is transparent */
12360
+ | "out"
12361
+ /** Foreground and backdrop visible only where the other is not */
12362
+ | "xor"
12363
+ /** Foreground and backdrop channels added (brightening) */
12364
+ | "lighter";
12350
12365
  /**
12351
12366
  * Position of the overlay image relative to a given edge. Each property is
12352
12367
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13690,11 +13705,25 @@ type ImageTransform = {
13690
13705
  type ImageDrawOptions = {
13691
13706
  opacity?: number;
13692
13707
  repeat?: boolean | string;
13708
+ composite?: ImageCompositeMode;
13693
13709
  top?: number;
13694
13710
  left?: number;
13695
13711
  bottom?: number;
13696
13712
  right?: number;
13697
13713
  };
13714
+ type ImageCompositeMode =
13715
+ /** Foreground drawn on top of backdrop (default) */
13716
+ | "over"
13717
+ /** Foreground shown only where backdrop is opaque */
13718
+ | "in"
13719
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13720
+ | "atop"
13721
+ /** Foreground shown only where backdrop is transparent */
13722
+ | "out"
13723
+ /** Foreground and backdrop visible only where the other is not */
13724
+ | "xor"
13725
+ /** Foreground and backdrop channels added (brightening) */
13726
+ | "lighter";
13698
13727
  type ImageInputOptions = {
13699
13728
  encoding?: "base64";
13700
13729
  };
@@ -12359,6 +12359,21 @@ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformati
12359
12359
  * (form a line).
12360
12360
  */
12361
12361
  repeat?: true | "x" | "y";
12362
+ /**
12363
+ * How to combine the foreground and backdrop pixels to create the result
12364
+ */
12365
+ composite?: /** Foreground drawn on top of backdrop (default) */
12366
+ | "over"
12367
+ /** Foreground shown only where backdrop is opaque */
12368
+ | "in"
12369
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12370
+ | "atop"
12371
+ /** Foreground shown only where backdrop is transparent */
12372
+ | "out"
12373
+ /** Foreground and backdrop visible only where the other is not */
12374
+ | "xor"
12375
+ /** Foreground and backdrop channels added (brightening) */
12376
+ | "lighter";
12362
12377
  /**
12363
12378
  * Position of the overlay image relative to a given edge. Each property is
12364
12379
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13710,11 +13725,25 @@ export type ImageTransform = {
13710
13725
  export type ImageDrawOptions = {
13711
13726
  opacity?: number;
13712
13727
  repeat?: boolean | string;
13728
+ composite?: ImageCompositeMode;
13713
13729
  top?: number;
13714
13730
  left?: number;
13715
13731
  bottom?: number;
13716
13732
  right?: number;
13717
13733
  };
13734
+ export type ImageCompositeMode =
13735
+ /** Foreground drawn on top of backdrop (default) */
13736
+ | "over"
13737
+ /** Foreground shown only where backdrop is opaque */
13738
+ | "in"
13739
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13740
+ | "atop"
13741
+ /** Foreground shown only where backdrop is transparent */
13742
+ | "out"
13743
+ /** Foreground and backdrop visible only where the other is not */
13744
+ | "xor"
13745
+ /** Foreground and backdrop channels added (brightening) */
13746
+ | "lighter";
13718
13747
  export type ImageInputOptions = {
13719
13748
  encoding?: "base64";
13720
13749
  };
@@ -12348,6 +12348,21 @@ interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
12348
12348
  * (form a line).
12349
12349
  */
12350
12350
  repeat?: true | "x" | "y";
12351
+ /**
12352
+ * How to combine the foreground and backdrop pixels to create the result
12353
+ */
12354
+ composite?: /** Foreground drawn on top of backdrop (default) */
12355
+ | "over"
12356
+ /** Foreground shown only where backdrop is opaque */
12357
+ | "in"
12358
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12359
+ | "atop"
12360
+ /** Foreground shown only where backdrop is transparent */
12361
+ | "out"
12362
+ /** Foreground and backdrop visible only where the other is not */
12363
+ | "xor"
12364
+ /** Foreground and backdrop channels added (brightening) */
12365
+ | "lighter";
12351
12366
  /**
12352
12367
  * Position of the overlay image relative to a given edge. Each property is
12353
12368
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13691,11 +13706,25 @@ type ImageTransform = {
13691
13706
  type ImageDrawOptions = {
13692
13707
  opacity?: number;
13693
13708
  repeat?: boolean | string;
13709
+ composite?: ImageCompositeMode;
13694
13710
  top?: number;
13695
13711
  left?: number;
13696
13712
  bottom?: number;
13697
13713
  right?: number;
13698
13714
  };
13715
+ type ImageCompositeMode =
13716
+ /** Foreground drawn on top of backdrop (default) */
13717
+ | "over"
13718
+ /** Foreground shown only where backdrop is opaque */
13719
+ | "in"
13720
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13721
+ | "atop"
13722
+ /** Foreground shown only where backdrop is transparent */
13723
+ | "out"
13724
+ /** Foreground and backdrop visible only where the other is not */
13725
+ | "xor"
13726
+ /** Foreground and backdrop channels added (brightening) */
13727
+ | "lighter";
13699
13728
  type ImageInputOptions = {
13700
13729
  encoding?: "base64";
13701
13730
  };
@@ -12360,6 +12360,21 @@ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformati
12360
12360
  * (form a line).
12361
12361
  */
12362
12362
  repeat?: true | "x" | "y";
12363
+ /**
12364
+ * How to combine the foreground and backdrop pixels to create the result
12365
+ */
12366
+ composite?: /** Foreground drawn on top of backdrop (default) */
12367
+ | "over"
12368
+ /** Foreground shown only where backdrop is opaque */
12369
+ | "in"
12370
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12371
+ | "atop"
12372
+ /** Foreground shown only where backdrop is transparent */
12373
+ | "out"
12374
+ /** Foreground and backdrop visible only where the other is not */
12375
+ | "xor"
12376
+ /** Foreground and backdrop channels added (brightening) */
12377
+ | "lighter";
12363
12378
  /**
12364
12379
  * Position of the overlay image relative to a given edge. Each property is
12365
12380
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13711,11 +13726,25 @@ export type ImageTransform = {
13711
13726
  export type ImageDrawOptions = {
13712
13727
  opacity?: number;
13713
13728
  repeat?: boolean | string;
13729
+ composite?: ImageCompositeMode;
13714
13730
  top?: number;
13715
13731
  left?: number;
13716
13732
  bottom?: number;
13717
13733
  right?: number;
13718
13734
  };
13735
+ export type ImageCompositeMode =
13736
+ /** Foreground drawn on top of backdrop (default) */
13737
+ | "over"
13738
+ /** Foreground shown only where backdrop is opaque */
13739
+ | "in"
13740
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13741
+ | "atop"
13742
+ /** Foreground shown only where backdrop is transparent */
13743
+ | "out"
13744
+ /** Foreground and backdrop visible only where the other is not */
13745
+ | "xor"
13746
+ /** Foreground and backdrop channels added (brightening) */
13747
+ | "lighter";
13719
13748
  export type ImageInputOptions = {
13720
13749
  encoding?: "base64";
13721
13750
  };
@@ -12368,6 +12368,21 @@ interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
12368
12368
  * (form a line).
12369
12369
  */
12370
12370
  repeat?: true | "x" | "y";
12371
+ /**
12372
+ * How to combine the foreground and backdrop pixels to create the result
12373
+ */
12374
+ composite?: /** Foreground drawn on top of backdrop (default) */
12375
+ | "over"
12376
+ /** Foreground shown only where backdrop is opaque */
12377
+ | "in"
12378
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12379
+ | "atop"
12380
+ /** Foreground shown only where backdrop is transparent */
12381
+ | "out"
12382
+ /** Foreground and backdrop visible only where the other is not */
12383
+ | "xor"
12384
+ /** Foreground and backdrop channels added (brightening) */
12385
+ | "lighter";
12371
12386
  /**
12372
12387
  * Position of the overlay image relative to a given edge. Each property is
12373
12388
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13711,11 +13726,25 @@ type ImageTransform = {
13711
13726
  type ImageDrawOptions = {
13712
13727
  opacity?: number;
13713
13728
  repeat?: boolean | string;
13729
+ composite?: ImageCompositeMode;
13714
13730
  top?: number;
13715
13731
  left?: number;
13716
13732
  bottom?: number;
13717
13733
  right?: number;
13718
13734
  };
13735
+ type ImageCompositeMode =
13736
+ /** Foreground drawn on top of backdrop (default) */
13737
+ | "over"
13738
+ /** Foreground shown only where backdrop is opaque */
13739
+ | "in"
13740
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13741
+ | "atop"
13742
+ /** Foreground shown only where backdrop is transparent */
13743
+ | "out"
13744
+ /** Foreground and backdrop visible only where the other is not */
13745
+ | "xor"
13746
+ /** Foreground and backdrop channels added (brightening) */
13747
+ | "lighter";
13719
13748
  type ImageInputOptions = {
13720
13749
  encoding?: "base64";
13721
13750
  };
@@ -12380,6 +12380,21 @@ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformati
12380
12380
  * (form a line).
12381
12381
  */
12382
12382
  repeat?: true | "x" | "y";
12383
+ /**
12384
+ * How to combine the foreground and backdrop pixels to create the result
12385
+ */
12386
+ composite?: /** Foreground drawn on top of backdrop (default) */
12387
+ | "over"
12388
+ /** Foreground shown only where backdrop is opaque */
12389
+ | "in"
12390
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12391
+ | "atop"
12392
+ /** Foreground shown only where backdrop is transparent */
12393
+ | "out"
12394
+ /** Foreground and backdrop visible only where the other is not */
12395
+ | "xor"
12396
+ /** Foreground and backdrop channels added (brightening) */
12397
+ | "lighter";
12383
12398
  /**
12384
12399
  * Position of the overlay image relative to a given edge. Each property is
12385
12400
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13731,11 +13746,25 @@ export type ImageTransform = {
13731
13746
  export type ImageDrawOptions = {
13732
13747
  opacity?: number;
13733
13748
  repeat?: boolean | string;
13749
+ composite?: ImageCompositeMode;
13734
13750
  top?: number;
13735
13751
  left?: number;
13736
13752
  bottom?: number;
13737
13753
  right?: number;
13738
13754
  };
13755
+ export type ImageCompositeMode =
13756
+ /** Foreground drawn on top of backdrop (default) */
13757
+ | "over"
13758
+ /** Foreground shown only where backdrop is opaque */
13759
+ | "in"
13760
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13761
+ | "atop"
13762
+ /** Foreground shown only where backdrop is transparent */
13763
+ | "out"
13764
+ /** Foreground and backdrop visible only where the other is not */
13765
+ | "xor"
13766
+ /** Foreground and backdrop channels added (brightening) */
13767
+ | "lighter";
13739
13768
  export type ImageInputOptions = {
13740
13769
  encoding?: "base64";
13741
13770
  };
@@ -12373,6 +12373,21 @@ interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
12373
12373
  * (form a line).
12374
12374
  */
12375
12375
  repeat?: true | "x" | "y";
12376
+ /**
12377
+ * How to combine the foreground and backdrop pixels to create the result
12378
+ */
12379
+ composite?: /** Foreground drawn on top of backdrop (default) */
12380
+ | "over"
12381
+ /** Foreground shown only where backdrop is opaque */
12382
+ | "in"
12383
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12384
+ | "atop"
12385
+ /** Foreground shown only where backdrop is transparent */
12386
+ | "out"
12387
+ /** Foreground and backdrop visible only where the other is not */
12388
+ | "xor"
12389
+ /** Foreground and backdrop channels added (brightening) */
12390
+ | "lighter";
12376
12391
  /**
12377
12392
  * Position of the overlay image relative to a given edge. Each property is
12378
12393
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13716,11 +13731,25 @@ type ImageTransform = {
13716
13731
  type ImageDrawOptions = {
13717
13732
  opacity?: number;
13718
13733
  repeat?: boolean | string;
13734
+ composite?: ImageCompositeMode;
13719
13735
  top?: number;
13720
13736
  left?: number;
13721
13737
  bottom?: number;
13722
13738
  right?: number;
13723
13739
  };
13740
+ type ImageCompositeMode =
13741
+ /** Foreground drawn on top of backdrop (default) */
13742
+ | "over"
13743
+ /** Foreground shown only where backdrop is opaque */
13744
+ | "in"
13745
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13746
+ | "atop"
13747
+ /** Foreground shown only where backdrop is transparent */
13748
+ | "out"
13749
+ /** Foreground and backdrop visible only where the other is not */
13750
+ | "xor"
13751
+ /** Foreground and backdrop channels added (brightening) */
13752
+ | "lighter";
13724
13753
  type ImageInputOptions = {
13725
13754
  encoding?: "base64";
13726
13755
  };
@@ -12385,6 +12385,21 @@ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformati
12385
12385
  * (form a line).
12386
12386
  */
12387
12387
  repeat?: true | "x" | "y";
12388
+ /**
12389
+ * How to combine the foreground and backdrop pixels to create the result
12390
+ */
12391
+ composite?: /** Foreground drawn on top of backdrop (default) */
12392
+ | "over"
12393
+ /** Foreground shown only where backdrop is opaque */
12394
+ | "in"
12395
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12396
+ | "atop"
12397
+ /** Foreground shown only where backdrop is transparent */
12398
+ | "out"
12399
+ /** Foreground and backdrop visible only where the other is not */
12400
+ | "xor"
12401
+ /** Foreground and backdrop channels added (brightening) */
12402
+ | "lighter";
12388
12403
  /**
12389
12404
  * Position of the overlay image relative to a given edge. Each property is
12390
12405
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13736,11 +13751,25 @@ export type ImageTransform = {
13736
13751
  export type ImageDrawOptions = {
13737
13752
  opacity?: number;
13738
13753
  repeat?: boolean | string;
13754
+ composite?: ImageCompositeMode;
13739
13755
  top?: number;
13740
13756
  left?: number;
13741
13757
  bottom?: number;
13742
13758
  right?: number;
13743
13759
  };
13760
+ export type ImageCompositeMode =
13761
+ /** Foreground drawn on top of backdrop (default) */
13762
+ | "over"
13763
+ /** Foreground shown only where backdrop is opaque */
13764
+ | "in"
13765
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13766
+ | "atop"
13767
+ /** Foreground shown only where backdrop is transparent */
13768
+ | "out"
13769
+ /** Foreground and backdrop visible only where the other is not */
13770
+ | "xor"
13771
+ /** Foreground and backdrop channels added (brightening) */
13772
+ | "lighter";
13744
13773
  export type ImageInputOptions = {
13745
13774
  encoding?: "base64";
13746
13775
  };
@@ -12379,6 +12379,21 @@ interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
12379
12379
  * (form a line).
12380
12380
  */
12381
12381
  repeat?: true | "x" | "y";
12382
+ /**
12383
+ * How to combine the foreground and backdrop pixels to create the result
12384
+ */
12385
+ composite?: /** Foreground drawn on top of backdrop (default) */
12386
+ | "over"
12387
+ /** Foreground shown only where backdrop is opaque */
12388
+ | "in"
12389
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12390
+ | "atop"
12391
+ /** Foreground shown only where backdrop is transparent */
12392
+ | "out"
12393
+ /** Foreground and backdrop visible only where the other is not */
12394
+ | "xor"
12395
+ /** Foreground and backdrop channels added (brightening) */
12396
+ | "lighter";
12382
12397
  /**
12383
12398
  * Position of the overlay image relative to a given edge. Each property is
12384
12399
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13722,11 +13737,25 @@ type ImageTransform = {
13722
13737
  type ImageDrawOptions = {
13723
13738
  opacity?: number;
13724
13739
  repeat?: boolean | string;
13740
+ composite?: ImageCompositeMode;
13725
13741
  top?: number;
13726
13742
  left?: number;
13727
13743
  bottom?: number;
13728
13744
  right?: number;
13729
13745
  };
13746
+ type ImageCompositeMode =
13747
+ /** Foreground drawn on top of backdrop (default) */
13748
+ | "over"
13749
+ /** Foreground shown only where backdrop is opaque */
13750
+ | "in"
13751
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13752
+ | "atop"
13753
+ /** Foreground shown only where backdrop is transparent */
13754
+ | "out"
13755
+ /** Foreground and backdrop visible only where the other is not */
13756
+ | "xor"
13757
+ /** Foreground and backdrop channels added (brightening) */
13758
+ | "lighter";
13730
13759
  type ImageInputOptions = {
13731
13760
  encoding?: "base64";
13732
13761
  };
@@ -12391,6 +12391,21 @@ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformati
12391
12391
  * (form a line).
12392
12392
  */
12393
12393
  repeat?: true | "x" | "y";
12394
+ /**
12395
+ * How to combine the foreground and backdrop pixels to create the result
12396
+ */
12397
+ composite?: /** Foreground drawn on top of backdrop (default) */
12398
+ | "over"
12399
+ /** Foreground shown only where backdrop is opaque */
12400
+ | "in"
12401
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12402
+ | "atop"
12403
+ /** Foreground shown only where backdrop is transparent */
12404
+ | "out"
12405
+ /** Foreground and backdrop visible only where the other is not */
12406
+ | "xor"
12407
+ /** Foreground and backdrop channels added (brightening) */
12408
+ | "lighter";
12394
12409
  /**
12395
12410
  * Position of the overlay image relative to a given edge. Each property is
12396
12411
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13742,11 +13757,25 @@ export type ImageTransform = {
13742
13757
  export type ImageDrawOptions = {
13743
13758
  opacity?: number;
13744
13759
  repeat?: boolean | string;
13760
+ composite?: ImageCompositeMode;
13745
13761
  top?: number;
13746
13762
  left?: number;
13747
13763
  bottom?: number;
13748
13764
  right?: number;
13749
13765
  };
13766
+ export type ImageCompositeMode =
13767
+ /** Foreground drawn on top of backdrop (default) */
13768
+ | "over"
13769
+ /** Foreground shown only where backdrop is opaque */
13770
+ | "in"
13771
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13772
+ | "atop"
13773
+ /** Foreground shown only where backdrop is transparent */
13774
+ | "out"
13775
+ /** Foreground and backdrop visible only where the other is not */
13776
+ | "xor"
13777
+ /** Foreground and backdrop channels added (brightening) */
13778
+ | "lighter";
13750
13779
  export type ImageInputOptions = {
13751
13780
  encoding?: "base64";
13752
13781
  };
@@ -12379,6 +12379,21 @@ interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
12379
12379
  * (form a line).
12380
12380
  */
12381
12381
  repeat?: true | "x" | "y";
12382
+ /**
12383
+ * How to combine the foreground and backdrop pixels to create the result
12384
+ */
12385
+ composite?: /** Foreground drawn on top of backdrop (default) */
12386
+ | "over"
12387
+ /** Foreground shown only where backdrop is opaque */
12388
+ | "in"
12389
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12390
+ | "atop"
12391
+ /** Foreground shown only where backdrop is transparent */
12392
+ | "out"
12393
+ /** Foreground and backdrop visible only where the other is not */
12394
+ | "xor"
12395
+ /** Foreground and backdrop channels added (brightening) */
12396
+ | "lighter";
12382
12397
  /**
12383
12398
  * Position of the overlay image relative to a given edge. Each property is
12384
12399
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13722,11 +13737,25 @@ type ImageTransform = {
13722
13737
  type ImageDrawOptions = {
13723
13738
  opacity?: number;
13724
13739
  repeat?: boolean | string;
13740
+ composite?: ImageCompositeMode;
13725
13741
  top?: number;
13726
13742
  left?: number;
13727
13743
  bottom?: number;
13728
13744
  right?: number;
13729
13745
  };
13746
+ type ImageCompositeMode =
13747
+ /** Foreground drawn on top of backdrop (default) */
13748
+ | "over"
13749
+ /** Foreground shown only where backdrop is opaque */
13750
+ | "in"
13751
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13752
+ | "atop"
13753
+ /** Foreground shown only where backdrop is transparent */
13754
+ | "out"
13755
+ /** Foreground and backdrop visible only where the other is not */
13756
+ | "xor"
13757
+ /** Foreground and backdrop channels added (brightening) */
13758
+ | "lighter";
13730
13759
  type ImageInputOptions = {
13731
13760
  encoding?: "base64";
13732
13761
  };
@@ -12391,6 +12391,21 @@ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformati
12391
12391
  * (form a line).
12392
12392
  */
12393
12393
  repeat?: true | "x" | "y";
12394
+ /**
12395
+ * How to combine the foreground and backdrop pixels to create the result
12396
+ */
12397
+ composite?: /** Foreground drawn on top of backdrop (default) */
12398
+ | "over"
12399
+ /** Foreground shown only where backdrop is opaque */
12400
+ | "in"
12401
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12402
+ | "atop"
12403
+ /** Foreground shown only where backdrop is transparent */
12404
+ | "out"
12405
+ /** Foreground and backdrop visible only where the other is not */
12406
+ | "xor"
12407
+ /** Foreground and backdrop channels added (brightening) */
12408
+ | "lighter";
12394
12409
  /**
12395
12410
  * Position of the overlay image relative to a given edge. Each property is
12396
12411
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13742,11 +13757,25 @@ export type ImageTransform = {
13742
13757
  export type ImageDrawOptions = {
13743
13758
  opacity?: number;
13744
13759
  repeat?: boolean | string;
13760
+ composite?: ImageCompositeMode;
13745
13761
  top?: number;
13746
13762
  left?: number;
13747
13763
  bottom?: number;
13748
13764
  right?: number;
13749
13765
  };
13766
+ export type ImageCompositeMode =
13767
+ /** Foreground drawn on top of backdrop (default) */
13768
+ | "over"
13769
+ /** Foreground shown only where backdrop is opaque */
13770
+ | "in"
13771
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13772
+ | "atop"
13773
+ /** Foreground shown only where backdrop is transparent */
13774
+ | "out"
13775
+ /** Foreground and backdrop visible only where the other is not */
13776
+ | "xor"
13777
+ /** Foreground and backdrop channels added (brightening) */
13778
+ | "lighter";
13750
13779
  export type ImageInputOptions = {
13751
13780
  encoding?: "base64";
13752
13781
  };
@@ -13080,6 +13080,21 @@ interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
13080
13080
  * (form a line).
13081
13081
  */
13082
13082
  repeat?: true | "x" | "y";
13083
+ /**
13084
+ * How to combine the foreground and backdrop pixels to create the result
13085
+ */
13086
+ composite?: /** Foreground drawn on top of backdrop (default) */
13087
+ | "over"
13088
+ /** Foreground shown only where backdrop is opaque */
13089
+ | "in"
13090
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13091
+ | "atop"
13092
+ /** Foreground shown only where backdrop is transparent */
13093
+ | "out"
13094
+ /** Foreground and backdrop visible only where the other is not */
13095
+ | "xor"
13096
+ /** Foreground and backdrop channels added (brightening) */
13097
+ | "lighter";
13083
13098
  /**
13084
13099
  * Position of the overlay image relative to a given edge. Each property is
13085
13100
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -14423,11 +14438,25 @@ type ImageTransform = {
14423
14438
  type ImageDrawOptions = {
14424
14439
  opacity?: number;
14425
14440
  repeat?: boolean | string;
14441
+ composite?: ImageCompositeMode;
14426
14442
  top?: number;
14427
14443
  left?: number;
14428
14444
  bottom?: number;
14429
14445
  right?: number;
14430
14446
  };
14447
+ type ImageCompositeMode =
14448
+ /** Foreground drawn on top of backdrop (default) */
14449
+ | "over"
14450
+ /** Foreground shown only where backdrop is opaque */
14451
+ | "in"
14452
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
14453
+ | "atop"
14454
+ /** Foreground shown only where backdrop is transparent */
14455
+ | "out"
14456
+ /** Foreground and backdrop visible only where the other is not */
14457
+ | "xor"
14458
+ /** Foreground and backdrop channels added (brightening) */
14459
+ | "lighter";
14431
14460
  type ImageInputOptions = {
14432
14461
  encoding?: "base64";
14433
14462
  };
@@ -13092,6 +13092,21 @@ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformati
13092
13092
  * (form a line).
13093
13093
  */
13094
13094
  repeat?: true | "x" | "y";
13095
+ /**
13096
+ * How to combine the foreground and backdrop pixels to create the result
13097
+ */
13098
+ composite?: /** Foreground drawn on top of backdrop (default) */
13099
+ | "over"
13100
+ /** Foreground shown only where backdrop is opaque */
13101
+ | "in"
13102
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13103
+ | "atop"
13104
+ /** Foreground shown only where backdrop is transparent */
13105
+ | "out"
13106
+ /** Foreground and backdrop visible only where the other is not */
13107
+ | "xor"
13108
+ /** Foreground and backdrop channels added (brightening) */
13109
+ | "lighter";
13095
13110
  /**
13096
13111
  * Position of the overlay image relative to a given edge. Each property is
13097
13112
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -14443,11 +14458,25 @@ export type ImageTransform = {
14443
14458
  export type ImageDrawOptions = {
14444
14459
  opacity?: number;
14445
14460
  repeat?: boolean | string;
14461
+ composite?: ImageCompositeMode;
14446
14462
  top?: number;
14447
14463
  left?: number;
14448
14464
  bottom?: number;
14449
14465
  right?: number;
14450
14466
  };
14467
+ export type ImageCompositeMode =
14468
+ /** Foreground drawn on top of backdrop (default) */
14469
+ | "over"
14470
+ /** Foreground shown only where backdrop is opaque */
14471
+ | "in"
14472
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
14473
+ | "atop"
14474
+ /** Foreground shown only where backdrop is transparent */
14475
+ | "out"
14476
+ /** Foreground and backdrop visible only where the other is not */
14477
+ | "xor"
14478
+ /** Foreground and backdrop channels added (brightening) */
14479
+ | "lighter";
14451
14480
  export type ImageInputOptions = {
14452
14481
  encoding?: "base64";
14453
14482
  };
package/index.d.ts CHANGED
@@ -12271,6 +12271,21 @@ interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
12271
12271
  * (form a line).
12272
12272
  */
12273
12273
  repeat?: true | "x" | "y";
12274
+ /**
12275
+ * How to combine the foreground and backdrop pixels to create the result
12276
+ */
12277
+ composite?: /** Foreground drawn on top of backdrop (default) */
12278
+ | "over"
12279
+ /** Foreground shown only where backdrop is opaque */
12280
+ | "in"
12281
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12282
+ | "atop"
12283
+ /** Foreground shown only where backdrop is transparent */
12284
+ | "out"
12285
+ /** Foreground and backdrop visible only where the other is not */
12286
+ | "xor"
12287
+ /** Foreground and backdrop channels added (brightening) */
12288
+ | "lighter";
12274
12289
  /**
12275
12290
  * Position of the overlay image relative to a given edge. Each property is
12276
12291
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13614,11 +13629,25 @@ type ImageTransform = {
13614
13629
  type ImageDrawOptions = {
13615
13630
  opacity?: number;
13616
13631
  repeat?: boolean | string;
13632
+ composite?: ImageCompositeMode;
13617
13633
  top?: number;
13618
13634
  left?: number;
13619
13635
  bottom?: number;
13620
13636
  right?: number;
13621
13637
  };
13638
+ type ImageCompositeMode =
13639
+ /** Foreground drawn on top of backdrop (default) */
13640
+ | "over"
13641
+ /** Foreground shown only where backdrop is opaque */
13642
+ | "in"
13643
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13644
+ | "atop"
13645
+ /** Foreground shown only where backdrop is transparent */
13646
+ | "out"
13647
+ /** Foreground and backdrop visible only where the other is not */
13648
+ | "xor"
13649
+ /** Foreground and backdrop channels added (brightening) */
13650
+ | "lighter";
13622
13651
  type ImageInputOptions = {
13623
13652
  encoding?: "base64";
13624
13653
  };
package/index.ts CHANGED
@@ -12283,6 +12283,21 @@ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformati
12283
12283
  * (form a line).
12284
12284
  */
12285
12285
  repeat?: true | "x" | "y";
12286
+ /**
12287
+ * How to combine the foreground and backdrop pixels to create the result
12288
+ */
12289
+ composite?: /** Foreground drawn on top of backdrop (default) */
12290
+ | "over"
12291
+ /** Foreground shown only where backdrop is opaque */
12292
+ | "in"
12293
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12294
+ | "atop"
12295
+ /** Foreground shown only where backdrop is transparent */
12296
+ | "out"
12297
+ /** Foreground and backdrop visible only where the other is not */
12298
+ | "xor"
12299
+ /** Foreground and backdrop channels added (brightening) */
12300
+ | "lighter";
12286
12301
  /**
12287
12302
  * Position of the overlay image relative to a given edge. Each property is
12288
12303
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13634,11 +13649,25 @@ export type ImageTransform = {
13634
13649
  export type ImageDrawOptions = {
13635
13650
  opacity?: number;
13636
13651
  repeat?: boolean | string;
13652
+ composite?: ImageCompositeMode;
13637
13653
  top?: number;
13638
13654
  left?: number;
13639
13655
  bottom?: number;
13640
13656
  right?: number;
13641
13657
  };
13658
+ export type ImageCompositeMode =
13659
+ /** Foreground drawn on top of backdrop (default) */
13660
+ | "over"
13661
+ /** Foreground shown only where backdrop is opaque */
13662
+ | "in"
13663
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13664
+ | "atop"
13665
+ /** Foreground shown only where backdrop is transparent */
13666
+ | "out"
13667
+ /** Foreground and backdrop visible only where the other is not */
13668
+ | "xor"
13669
+ /** Foreground and backdrop channels added (brightening) */
13670
+ | "lighter";
13642
13671
  export type ImageInputOptions = {
13643
13672
  encoding?: "base64";
13644
13673
  };
package/latest/index.d.ts CHANGED
@@ -12412,6 +12412,21 @@ interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
12412
12412
  * (form a line).
12413
12413
  */
12414
12414
  repeat?: true | "x" | "y";
12415
+ /**
12416
+ * How to combine the foreground and backdrop pixels to create the result
12417
+ */
12418
+ composite?: /** Foreground drawn on top of backdrop (default) */
12419
+ | "over"
12420
+ /** Foreground shown only where backdrop is opaque */
12421
+ | "in"
12422
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12423
+ | "atop"
12424
+ /** Foreground shown only where backdrop is transparent */
12425
+ | "out"
12426
+ /** Foreground and backdrop visible only where the other is not */
12427
+ | "xor"
12428
+ /** Foreground and backdrop channels added (brightening) */
12429
+ | "lighter";
12415
12430
  /**
12416
12431
  * Position of the overlay image relative to a given edge. Each property is
12417
12432
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13755,11 +13770,25 @@ type ImageTransform = {
13755
13770
  type ImageDrawOptions = {
13756
13771
  opacity?: number;
13757
13772
  repeat?: boolean | string;
13773
+ composite?: ImageCompositeMode;
13758
13774
  top?: number;
13759
13775
  left?: number;
13760
13776
  bottom?: number;
13761
13777
  right?: number;
13762
13778
  };
13779
+ type ImageCompositeMode =
13780
+ /** Foreground drawn on top of backdrop (default) */
13781
+ | "over"
13782
+ /** Foreground shown only where backdrop is opaque */
13783
+ | "in"
13784
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13785
+ | "atop"
13786
+ /** Foreground shown only where backdrop is transparent */
13787
+ | "out"
13788
+ /** Foreground and backdrop visible only where the other is not */
13789
+ | "xor"
13790
+ /** Foreground and backdrop channels added (brightening) */
13791
+ | "lighter";
13763
13792
  type ImageInputOptions = {
13764
13793
  encoding?: "base64";
13765
13794
  };
package/latest/index.ts CHANGED
@@ -12424,6 +12424,21 @@ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformati
12424
12424
  * (form a line).
12425
12425
  */
12426
12426
  repeat?: true | "x" | "y";
12427
+ /**
12428
+ * How to combine the foreground and backdrop pixels to create the result
12429
+ */
12430
+ composite?: /** Foreground drawn on top of backdrop (default) */
12431
+ | "over"
12432
+ /** Foreground shown only where backdrop is opaque */
12433
+ | "in"
12434
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12435
+ | "atop"
12436
+ /** Foreground shown only where backdrop is transparent */
12437
+ | "out"
12438
+ /** Foreground and backdrop visible only where the other is not */
12439
+ | "xor"
12440
+ /** Foreground and backdrop channels added (brightening) */
12441
+ | "lighter";
12427
12442
  /**
12428
12443
  * Position of the overlay image relative to a given edge. Each property is
12429
12444
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13775,11 +13790,25 @@ export type ImageTransform = {
13775
13790
  export type ImageDrawOptions = {
13776
13791
  opacity?: number;
13777
13792
  repeat?: boolean | string;
13793
+ composite?: ImageCompositeMode;
13778
13794
  top?: number;
13779
13795
  left?: number;
13780
13796
  bottom?: number;
13781
13797
  right?: number;
13782
13798
  };
13799
+ export type ImageCompositeMode =
13800
+ /** Foreground drawn on top of backdrop (default) */
13801
+ | "over"
13802
+ /** Foreground shown only where backdrop is opaque */
13803
+ | "in"
13804
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13805
+ | "atop"
13806
+ /** Foreground shown only where backdrop is transparent */
13807
+ | "out"
13808
+ /** Foreground and backdrop visible only where the other is not */
13809
+ | "xor"
13810
+ /** Foreground and backdrop channels added (brightening) */
13811
+ | "lighter";
13783
13812
  export type ImageInputOptions = {
13784
13813
  encoding?: "base64";
13785
13814
  };
package/oldest/index.d.ts CHANGED
@@ -12271,6 +12271,21 @@ interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
12271
12271
  * (form a line).
12272
12272
  */
12273
12273
  repeat?: true | "x" | "y";
12274
+ /**
12275
+ * How to combine the foreground and backdrop pixels to create the result
12276
+ */
12277
+ composite?: /** Foreground drawn on top of backdrop (default) */
12278
+ | "over"
12279
+ /** Foreground shown only where backdrop is opaque */
12280
+ | "in"
12281
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12282
+ | "atop"
12283
+ /** Foreground shown only where backdrop is transparent */
12284
+ | "out"
12285
+ /** Foreground and backdrop visible only where the other is not */
12286
+ | "xor"
12287
+ /** Foreground and backdrop channels added (brightening) */
12288
+ | "lighter";
12274
12289
  /**
12275
12290
  * Position of the overlay image relative to a given edge. Each property is
12276
12291
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13614,11 +13629,25 @@ type ImageTransform = {
13614
13629
  type ImageDrawOptions = {
13615
13630
  opacity?: number;
13616
13631
  repeat?: boolean | string;
13632
+ composite?: ImageCompositeMode;
13617
13633
  top?: number;
13618
13634
  left?: number;
13619
13635
  bottom?: number;
13620
13636
  right?: number;
13621
13637
  };
13638
+ type ImageCompositeMode =
13639
+ /** Foreground drawn on top of backdrop (default) */
13640
+ | "over"
13641
+ /** Foreground shown only where backdrop is opaque */
13642
+ | "in"
13643
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13644
+ | "atop"
13645
+ /** Foreground shown only where backdrop is transparent */
13646
+ | "out"
13647
+ /** Foreground and backdrop visible only where the other is not */
13648
+ | "xor"
13649
+ /** Foreground and backdrop channels added (brightening) */
13650
+ | "lighter";
13622
13651
  type ImageInputOptions = {
13623
13652
  encoding?: "base64";
13624
13653
  };
package/oldest/index.ts CHANGED
@@ -12283,6 +12283,21 @@ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformati
12283
12283
  * (form a line).
12284
12284
  */
12285
12285
  repeat?: true | "x" | "y";
12286
+ /**
12287
+ * How to combine the foreground and backdrop pixels to create the result
12288
+ */
12289
+ composite?: /** Foreground drawn on top of backdrop (default) */
12290
+ | "over"
12291
+ /** Foreground shown only where backdrop is opaque */
12292
+ | "in"
12293
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
12294
+ | "atop"
12295
+ /** Foreground shown only where backdrop is transparent */
12296
+ | "out"
12297
+ /** Foreground and backdrop visible only where the other is not */
12298
+ | "xor"
12299
+ /** Foreground and backdrop channels added (brightening) */
12300
+ | "lighter";
12286
12301
  /**
12287
12302
  * Position of the overlay image relative to a given edge. Each property is
12288
12303
  * an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
@@ -13634,11 +13649,25 @@ export type ImageTransform = {
13634
13649
  export type ImageDrawOptions = {
13635
13650
  opacity?: number;
13636
13651
  repeat?: boolean | string;
13652
+ composite?: ImageCompositeMode;
13637
13653
  top?: number;
13638
13654
  left?: number;
13639
13655
  bottom?: number;
13640
13656
  right?: number;
13641
13657
  };
13658
+ export type ImageCompositeMode =
13659
+ /** Foreground drawn on top of backdrop (default) */
13660
+ | "over"
13661
+ /** Foreground shown only where backdrop is opaque */
13662
+ | "in"
13663
+ /** Foreground drawn on top, but clipped to the backdrop's shape */
13664
+ | "atop"
13665
+ /** Foreground shown only where backdrop is transparent */
13666
+ | "out"
13667
+ /** Foreground and backdrop visible only where the other is not */
13668
+ | "xor"
13669
+ /** Foreground and backdrop channels added (brightening) */
13670
+ | "lighter";
13642
13671
  export type ImageInputOptions = {
13643
13672
  encoding?: "base64";
13644
13673
  };
package/package.json CHANGED
@@ -7,5 +7,5 @@
7
7
  },
8
8
  "author": "Cloudflare Workers DevProd Team <workers-devprod@cloudflare.com> (https://workers.cloudflare.com)",
9
9
  "license": "MIT OR Apache-2.0",
10
- "version": "4.20260529.1"
10
+ "version": "4.20260530.1"
11
11
  }