Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zh-cn]: update the translation of CanvasRenderingContext2D.clip() method #21988

Merged
merged 4 commits into from
Jul 8, 2024

Conversation

tianyeeT
Copy link
Contributor

…method

Description

Motivation

Additional details

Related issues and pull requests

@tianyeeT tianyeeT requested a review from a team as a code owner June 27, 2024 10:39
@tianyeeT tianyeeT requested review from yin1999 and removed request for a team June 27, 2024 10:39
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Jun 27, 2024
Copy link
Contributor

github-actions bot commented Jun 27, 2024

Preview URLs

Flaws (1)

URL: /zh-CN/docs/Web/API/CanvasRenderingContext2D/clip
Title: CanvasRenderingContext2D:clip() 方法
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (3 in common of 9 possible)
External URLs (2)

URL: /zh-CN/docs/Web/API/CanvasRenderingContext2D/clip
Title: CanvasRenderingContext2D:clip() 方法

(comment last updated: 2024-07-08 02:08:19)

@@ -1,18 +1,29 @@
---
title: CanvasRenderingContext2D.clip()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请更新

## 示例

### 一个简单的裁剪区域

这是一段简单的代码片段,使用 `clip` 方法创建剪切区域
这个例子使用`clip()`方法根据圆弧的形状创建一个裁剪区域。然后绘制了两个矩形;只有在裁剪区域内的部分才会被渲染
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

空格


#### 结果

{{ EmbedLiveSample('Specifying_a_path_and_a_fillRule', 700, 180) }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

id 更新

@yin1999 yin1999 merged commit c9ea912 into mdn:main Jul 8, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-zh Issues related to Chinese content.
2 participants